a:25:{s:9:"#provides";s:14:"dojo.io.script";s:9:"#resource";s:12:"io/script.js";s:23:"dojo.io.script.__ioArgs";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dojo.__IoArgs";}s:4:"call";a:1:{i:0;s:13:"dojo.__IoArgs";}}s:6:"source";s:107:" this.callbackParamName = callbackParamName; this.checkString = checkString; this.frameDoc = frameDoc;";s:7:"summary";s:387:"All the properties described in the dojo.__ioArgs type, apply to this type as well, EXCEPT "handleAs". It is not applicable to dojo.io.script.get() calls, since it is implied by the usage of "callbackParamName" (response will be a JSONP call returning JSON) or "checkString" (response is pure JavaScript defined in the body of the script that was attached).";s:7:"private";b:1;}s:41:"dojo.io.script.__ioArgs.callbackParamName";a:4:{s:8:"instance";s:23:"dojo.io.script.__ioArgs";s:4:"type";s:3:"c".";s:7:"summary";s:0:"";s:14:"private_parent";b:1;}s:35:"dojo.io.script.__ioArgs.checkString";a:4:{s:8:"instance";s:23:"dojo.io.script.__ioArgs";s:4:"type";s:6:"String";s:7:"summary";s:253:"A string of JavaScript that when evaluated like so: "typeof(" + checkString + ") != 'undefined'" being true means that the script fetched has been loaded. Do not use this if doing a JSONP type of call (use callbackParamName instead).";s:14:"private_parent";b:1;}s:32:"dojo.io.script.__ioArgs.frameDoc";a:4:{s:8:"instance";s:23:"dojo.io.script.__ioArgs";s:4:"type";s:8:"Document";s:7:"summary";s:188:"The Document object for a child iframe. If this is passed in, the script will be attached to that document. This can be helpful in some comet long-polling scenarios with Firefox and Opera.";s:14:"private_parent";b:1;}s:14:"dojo.io.script";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:18:"dojo.io.script.get";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:1:{s:4:"type";s:23:"dojo.io.script.__ioArgs";}}s:6:"source";s:282:" var dfd = this._makeScriptDeferred(args); var ioArgs = dfd.ioArgs; dojo._ioAddQueryToUrl(ioArgs); if(this._canAttach(ioArgs)){ this.attach(ioArgs.id, ioArgs.url, args.frameDoc); } dojo._ioWatch(dfd, this._validCheck, this._ioCheck, this._resHandle); return dfd;";s:7:"summary";s:59:"sends a get request using a dynamically created script tag.";}s:21:"dojo.io.script.attach";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:2:"id";a:1:{s:4:"type";s:6:"String";}s:3:"url";a:1:{s:4:"type";s:6:"String";}s:13:"frameDocument";a:2:{s:8:"optional";b:1;s:4:"type";s:8:"Document";}}s:6:"source";s:250:" var doc = (frameDocument || dojo.doc); var element = doc.createElement("script"); element.type = "text/javascript"; element.src = url; element.id = id; element.charset = "utf-8"; doc.getElementsByTagName("head")[0].appendChild(element);";s:7:"summary";s:91:"creates a new <script> tag pointing to the specified URL and adds it to the document.";s:11:"description";s:140:"Attaches the script element to the DOM. Use this method if you just want to attach a script to the DOM and do not care when or if it loads.";}s:21:"dojo.io.script.remove";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:2:"id";a:1:{s:4:"type";s:6:"String";}s:13:"frameDocument";a:2:{s:8:"optional";b:1;s:4:"type";s:8:"Document";}}s:6:"source";s:174:" dojo.destroy(dojo.byId(id, frameDocument)); //Remove the jsonp callback on dojo.io.script, if it exists. if(this["jsonp_" + id]){ delete this["jsonp_" + id]; }";s:7:"summary";s:136:"removes the script element with the given id, from the given frameDocument. If no frameDocument is passed, the current document is used.";}s:34:"dojo.io.script._makeScriptDeferred";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:1:{s:4:"type";s:6:"Object";}}s:6:"source";s:816:" var dfd = dojo._ioSetArgs(args, this._deferredCancel, this._deferredOk, this._deferredError); var ioArgs = dfd.ioArgs; ioArgs.id = dojo._scopeName + "IoScript" + (this._counter++); ioArgs.canDelete = false; //Special setup for jsonp case if(args.callbackParamName){ //Add the jsonp parameter. ioArgs.query = ioArgs.query || ""; if(ioArgs.query.length > 0){ ioArgs.query += "&"; } ioArgs.query += args.callbackParamName + "=" + (args.frameDoc ? "parent." : "") + dojo._scopeName + ".io.script.jsonp_" + ioArgs.id + "._jsonpCallback"; ioArgs.frameDoc = args.frameDoc; //Setup the Deferred to have the jsonp callback. ioArgs.canDelete = true; dfd._jsonpCallback = this._jsonpCallback; this["jsonp_" + ioArgs.id] = dfd; } return dfd; // dojo.Deferred";s:7:"summary";s:44:"sets up a Deferred object for an IO request.";s:7:"returns";s:13:"dojo.Deferred";s:7:"private";b:1;}s:30:"dojo.io.script._deferredCancel";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"dfd";a:1:{s:4:"type";s:8:"Deferred";}}s:6:"source";s:4102:"dojo.provide("dojo.io.script"); dojo.declare("dojo.io.script.__ioArgs", dojo.__IoArgs, { constructor: function(){ // summary: // All the properties described in the dojo.__ioArgs type, apply to this // type as well, EXCEPT "handleAs". It is not applicable to // dojo.io.script.get() calls, since it is implied by the usage of // "callbackParamName" (response will be a JSONP call returning JSON) // or "checkString" (response is pure JavaScript defined in // the body of the script that was attached). // callbackParamName: String // The URL parameter name that indicates the JSONP callback string. // For instance, when using Yahoo JSONP calls it is normally, // callbackParamName: "callback". For AOL JSONP calls it is normally // callbackParamName: "c". // checkString: String // A string of JavaScript that when evaluated like so: // "typeof(" + checkString + ") != 'undefined'" // being true means that the script fetched has been loaded. // Do not use this if doing a JSONP type of call (use callbackParamName instead). // frameDoc: Document // The Document object for a child iframe. If this is passed in, the script // will be attached to that document. This can be helpful in some comet long-polling // scenarios with Firefox and Opera. this.callbackParamName = callbackParamName; this.checkString = checkString; this.frameDoc = frameDoc; } }); dojo.io.script = { get: function(/*dojo.io.script.__ioArgs*/args){ // summary: // sends a get request using a dynamically created script tag. var dfd = this._makeScriptDeferred(args); var ioArgs = dfd.ioArgs; dojo._ioAddQueryToUrl(ioArgs); if(this._canAttach(ioArgs)){ this.attach(ioArgs.id, ioArgs.url, args.frameDoc); } dojo._ioWatch(dfd, this._validCheck, this._ioCheck, this._resHandle); return dfd; }, attach: function(/*String*/id, /*String*/url, /*Document?*/frameDocument){ // summary: // creates a new