aboutsummaryrefslogtreecommitdiff
path: root/tools/jsdoc-toolkit-2.4.0/app/plugins/functionCall.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jsdoc-toolkit-2.4.0/app/plugins/functionCall.js')
-rw-r--r--tools/jsdoc-toolkit-2.4.0/app/plugins/functionCall.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/jsdoc-toolkit-2.4.0/app/plugins/functionCall.js b/tools/jsdoc-toolkit-2.4.0/app/plugins/functionCall.js
new file mode 100644
index 0000000..6f87705
--- /dev/null
+++ b/tools/jsdoc-toolkit-2.4.0/app/plugins/functionCall.js
@@ -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