/trunk/jsdoc-toolkit/app/plugins/functionCall.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 10 lines · 10 code · 0 blank · 0 comment · 3 complexity · 7141a4e19c3b8d9b6a1fc400bac47f67 MD5 · raw file

  1. JSDOC.PluginManager.registerPlugin(
  2. "JSDOC.functionCall",
  3. {
  4. onFunctionCall: function(functionCall) {
  5. if (functionCall.name == "dojo.define" && functionCall.arg1) {
  6. functionCall.doc = "/** @lends "+eval(functionCall.arg1)+".prototype */";
  7. }
  8. }
  9. }
  10. );