can generate jsdoc; private methods marked as such
[dygraphs.git] / jsdoc-toolkit / app / plugins / functionCall.js
diff --git a/jsdoc-toolkit/app/plugins/functionCall.js b/jsdoc-toolkit/app/plugins/functionCall.js
new file mode 100644 (file)
index 0000000..6f87705
--- /dev/null
@@ -0,0 +1,10 @@
+JSDOC.PluginManager.registerPlugin(
+       "JSDOC.functionCall",
+       {
+               onFunctionCall: function(functionCall) {
+                       if (functionCall.name == "dojo.define" && functionCall.arg1) {
+                               functionCall.doc = "/** @lends "+eval(functionCall.arg1)+".prototype */";
+                       }
+               }
+       }
+);
\ No newline at end of file