if(!dojo._hasResource["dojo.io.iframe"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo.io.iframe"] = true; dojo.provide("dojo.io.iframe"); dojo.io.iframe = { create: function(/*String*/fname, /*String*/onloadstr, /*String?*/uri){ // summary: // Creates a hidden iframe in the page. Used mostly for IO // transports. You do not need to call this to start a // dojo.io.iframe request. Just call send(). // fname: String // The name of the iframe. Used for the name attribute on the // iframe. // onloadstr: String // A string of JavaScript that will be executed when the content // in the iframe loads. // uri: String // The value of the src attribute on the iframe element. If a // value is not given, then dojo/resources/blank.html will be // used. if(window[fname]){ return window[fname]; } if(window.frames[fname]){ return window.frames[fname]; } var cframe = null; var turi = uri; if(!turi){ if(dojo.config["useXDomain"] && !dojo.config["dojoBlankHtmlUrl"]){ console.debug("dojo.io.iframe.create: When using cross-domain Dojo builds," + " please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl" + " to the path on your domain to blank.html"); } turi = (dojo.config["dojoBlankHtmlUrl"]||dojo.moduleUrl("dojo", "resources/blank.html")); } var ifrstr = dojo.isIE ? '