thirdparty/jsdoctoolkit/app/plugins/frameworkPrototype.js
changeset 3041 c8f47f0b6697
equal deleted inserted replaced
3040:8f9580309846 3041:c8f47f0b6697
       
     1 JSDOC.PluginManager.registerPlugin(
       
     2 	"JSDOC.frameworkPrototype",
       
     3 	{
       
     4 		onPrototypeClassCreate: function(classCreator) {
       
     5 			var desc = "";
       
     6 			if (classCreator.comment) {
       
     7 				desc = classCreator.comment;
       
     8 			}
       
     9 			var insert = desc+"/** @name "+classCreator.name+"\n@constructor\n@scope "+classCreator.name+".prototype */"
       
    10 			
       
    11 			insert = insert.replace(/\*\/\/\*\*/g, "\n");
       
    12 			/*DEBUG*///print("insert is "+insert);
       
    13 			classCreator.addComment.data = insert;
       
    14 		}
       
    15 	}
       
    16 );