/tags/jsdoc_toolkit-2.3.2/jsdoc-toolkit/app/plugins/frameworkPrototype.js
JavaScript | 16 lines | 14 code | 1 blank | 1 comment | 1 complexity | 25fea24c4e746dd82ff1d4ba1701a042 MD5 | raw file
- JSDOC.PluginManager.registerPlugin(
- "JSDOC.frameworkPrototype",
- {
- onPrototypeClassCreate: function(classCreator) {
- var desc = "";
- if (classCreator.comment) {
- desc = classCreator.comment;
- }
- var insert = desc+"/** @name "+classCreator.name+"\n@constructor\n@scope "+classCreator.name+".prototype */"
-
- insert = insert.replace(/\*\/\/\*\*/g, "\n");
- /*DEBUG*///print("insert is "+insert);
- classCreator.addComment.data = insert;
- }
- }
- );