JSDOC/BuildDocs.js
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 12:53:31 +0000 (20:53 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 12:53:31 +0000 (20:53 +0800)
JSDOC/BuildDocs.js

index c108b74..cce3ebd 100644 (file)
@@ -497,8 +497,17 @@ BuildDocs = {
                 }
             ).map( function($) { return $.name == 'this' ? '_self' : $.name; } ).join(", ") +
         ")\n{\n\n}";
+    },
+       makeMethodSkel :function(params) {
+        if (!params) return "()";
+        return "("     +
+            params.filter(
+                function($) {
+                    return $.name.indexOf(".") == -1; // don't show config params in signature
+                }
+            ).map( function($) { return $.name == 'this' ? '_self' : $.name; } ).join(", ") +
+        ")";
     }
-       
  
     
 };