a:6:{s:9:"#provides";s:24:"dojox.io.xhrScriptPlugin";s:9:"#resource";s:21:"io/xhrScriptPlugin.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:19:"dojox.io.xhrPlugins";}i:1;a:3:{i:0;s:6:"common";i:1;s:14:"dojo.io.script";i:2;s:4:"dojo";}i:2;a:2:{i:0;s:6:"common";i:1;s:20:"dojox.io.scriptFrame";}}s:24:"dojox.io.xhrScriptPlugin";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:3:"url";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:55:"Url prefix of the site which can handle JSONP requests.";}s:17:"callbackParamName";a:1:{s:4:"type";s:6:"String";}s:11:"httpAdapter";a:3:{s:8:"optional";b:1;s:4:"type";s:8:"Function";s:7:"summary";s:147:"This allows for adapting HTTP requests that could not otherwise be sent with JSONP, so you can use a convention for headers and PUT/DELETE methods.";}}s:6:"source";s:532:" dojox.io.xhrPlugins.register( "script", function(method,args){ return args.sync !== true && (method == "GET" || httpAdapter) && (args.url.substring(0,url.length) == url); }, function(method,args,hasBody){ var send = function(){ args.callbackParamName = callbackParamName; if(dojo.body()){ args.frameDoc = "frame" + Math.random(); } return dojo.io.script.get(args); } return (httpAdapter ? httpAdapter(send, true) : send)(method, args, hasBody); // use the JSONP transport } );";s:7:"summary";s:284:"Adds the script transport (JSONP) as an XHR plugin for the given site. See dojox.io.script for more information on the transport. Note, that JSONP is *not* a secure transport, by loading data from a third-party site using JSONP the site has full access to your JavaScript environment.";s:7:"returns";s:23:"use the JSONP transport";}s:8:"dojox.io";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}