Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/jsdoc-toolkit/app/plugins/functionCall.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/jsdoc-toolkit/app/plugins/functionCall.js')
-rw-r--r--utils/jsdoc-toolkit/app/plugins/functionCall.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/jsdoc-toolkit/app/plugins/functionCall.js b/utils/jsdoc-toolkit/app/plugins/functionCall.js
new file mode 100644
index 0000000..6f87705
--- /dev/null
+++ b/utils/jsdoc-toolkit/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