I\'m currently refactoring some Javascript code we have and amongst other things I\'ve changed it to make use of the revealing module pattern. The code is looking much tidie
Add:
/** * @memberOf myNamespace */
before each function definition to restore the hierarchy.
You will find more interesting tags to document your code here: How I Introduced JsDoc into a JavaScript project – and found my Eclipse Outline