Function
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 "jsonp" (response will be a JSONP call returning JSON) or the response is pure JavaScript defined in the body of the script that was attached.
String
Deprecated as of Dojo 1.4 in favor of "jsonp", but still supported for legacy code. See notes for jsonp property.
c".
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).
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.
Object
Function
sends a get request using a dynamically created script tag.
Function
creates a new <script> tag pointing to the specified URL and adds it to the document.
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.
Function
removes the script element with the given id, from the given frameDocument. If no frameDocument is passed, the current document is used.
Function
sets up a Deferred object for an IO request.
dojo.Deferred
Function
canceller function for dojo._ioSetArgs call. DO NOT use "this" and expect it to be dojo.io.script.
Function
okHandler function for dojo._ioSetArgs call. DO NOT use "this" and expect it to be dojo.io.script.
Function
errHandler function for dojo._ioSetArgs call.
Function
sets up an entry in the deadScripts array.
Function
inflight check function to see if dfd is still valid. Do script cleanup here. We wait for one inflight pass to make sure we don't get any weird things by trying to remove a script tag that is part of the call chain (IE 6 has been known to crash in that case).
Function
inflight check function to see if IO finished.
Function
inflight function to handle a completed response.
Function
A method that can be overridden by other modules to control when the script attachment occurs.
Function
generic handler for jsonp callback. A pointer to this function is used for all jsonp callbacks. NOTE: the "this" in this function will be the Deferred object that represents the script request.
Object
Object