if(!this.__source__){ return this.__name__; } var first = (!this.__parameters__); this.__parameters__ = []; if(data){ dojox.help._parse.call(this, data); }else if(first){ this.__searching__ = true; dojox.help._toStrings[dojox.help._stripPrototype(this.__name__)[0]] = this; if(dojox.help._toStringTimer){ clearTimeout(dojox.help._toStringTimer); } dojox.help._toStringTimer = setTimeout(function(){ dojox.help.__toString(); }, 50); } if(!first || !this.__searching__){ return this.__source__; } var message = "function Loading info for " + this.__name__ + "... (watch console for result) {}"; if(!+dojo.isFF){ this.__output__ = true; return message; } return { toString: dojo.hitch(this, function(){ // Detect if this was called by Firebug this.__output__ = true; return message; }) };