sets up an entry in the deadScripts array.
Parameter | Type | Description |
---|---|---|
ioArgs | Object |
provides an override of dojo.io.script._canAttach to check for the existence of a the args.frameDoc property. If it is there, and it is a string, not a document, then create the iframe with an ID of frameDoc, and use that for the calls. If frameDoc is a document, then dojox.io.scriptFrame should not get involved.
Parameter | Type | Description |
---|---|---|
ioArgs | Object |
canceller function for xhr._ioSetArgs call.
Parameter | Type | Description |
---|---|---|
dfd | Deferred |
errHandler function for xhr._ioSetArgs call.
Parameter | Type | Description |
---|---|---|
error | Error | |
dfd | Deferred |
okHandler function for xhr._ioSetArgs call.
Parameter | Type | Description |
---|---|---|
dfd | Deferred |
inflight check function to see if IO finished.
Parameter | Type | Description |
---|---|---|
dfd | Deferred |
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.
Parameter | Type | Description |
---|---|---|
json | JSON Object |
sets up a Deferred object for an IO request.
Parameter | Type | Description |
---|---|---|
args | Object | |
cancel | Function |
Optional
|
inflight function to handle a completed response.
Parameter | Type | Description |
---|---|---|
dfd | Deferred |
inflight check function to see if dfd is still valid.
Parameter | Type | Description |
---|---|---|
dfd | Deferred |
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.
Parameter | Type | Description |
---|---|---|
id | undefined | |
url | undefined | |
frameDocument | undefined |
sends a get request using a dynamically created script tag.
Parameter | Type | Description |
---|---|---|
args | Object | An object with the following properties:
|
removes the script element with the given id, from the given frameDocument. If no frameDocument is passed, the current document is used.
Parameter | Type | Description |
---|---|---|
id | undefined | |
frameDocument | undefined |