thirdparty/jsdoctoolkit/app/plugins/functionCall.js
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 25 Oct 2009 15:39:50 -0700
changeset 3045 b6b5ad155dd9
parent 3041 c8f47f0b6697
permissions -rw-r--r--
Add a redirectLegacyRequest response

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