Tried using the YUI module pattern, but the IDE doesn't show the methods in outline view any more

Tried using the YUI module pattern, but the IDE doesn't show the methods in outline view any more

by Matt Gibson -
Number of replies: 1

http://docs.moodle.org/dev/How_to_create_a_YUI_3_module#YUI_3_Moodle_Module_quick_start

I refactored a whole load of my code to use this pattern and then I found I couldn't navigate around it any more. Does anyone have a solution?

Average of ratings: -
In reply to Matt Gibson

Re: Tried using the YUI module pattern, but the IDE doesn't show the methods in outline view any more

by Matt Gibson -

Found a solution:

Use JSDoc above the Y.extend function call like this:

/**
* @class M.block_ajax_marking.treenode
*/
Y.extend(....