thirdparty/jsdoctoolkit/app/plugins/functionCall.js
author Daniel Hans <Daniel.M.Hans@gmail.com>
Wed, 04 Nov 2009 21:37:44 +0100
changeset 3079 c491d96dce2c
parent 3041 c8f47f0b6697
permissions -rw-r--r--
Fixed 'Register as a student' link problem for GHOP program. Params and new_params in student view are also sub-merged now, so the apply pattern may be used by GHOP student view.

JSDOC.PluginManager.registerPlugin(
	"JSDOC.functionCall",
	{
		onFunctionCall: function(functionCall) {
			if (functionCall.name == "dojo.define" && functionCall.arg1) {
				functionCall.doc = "/** @lends "+eval(functionCall.arg1)+".prototype */";
			}
		}
	}
);