a:8:{s:9:"#provides";s:4:"dojo";s:9:"#resource";s:15:"_base/window.js";s:8:"dojo.doc";a:4:{s:4:"type";s:6:"Object";s:7:"summary";s:115:"Alias for the current document. 'dojo.doc' can be modified for temporary context shifting. Also see dojo.withDoc().";s:11:"description";s:116:"Refer to dojo.doc rather than referring to 'window.document' to ensure your code runs correctly in managed contexts.";s:8:"examples";a:1:{i:0;s:48:" n.appendChild(dojo.doc.createElement('div'));";}}s:9:"dojo.body";a:4:{s:4:"type";s:8:"Function";s:6:"source";s:900:"dojo.provide("dojo._base.window"); dojo.doc = { // summary: // Alias for the current document. 'dojo.doc' can be modified // for temporary context shifting. Also see dojo.withDoc(). // description: // Refer to dojo.doc rather // than referring to 'window.document' to ensure your code runs // correctly in managed contexts. // example: // | n.appendChild(dojo.doc.createElement('div')); } dojo.doc = window["document"] || null; dojo.body = function(){ // summary: // Return the body element of the document // return the body object associated with dojo.doc // example: // | dojo.body().appendChild(dojo.doc.createElement('div')); // Note: document.body is not defined for a strict xhtml document // Would like to memoize this, but dojo.doc can change vi dojo.withDoc(). return dojo.doc.body || dojo.doc.getElementsByTagName("body")[0]; // Node";s:7:"summary";s:87:"Return the body element of the document return the body object associated with dojo.doc";s:7:"returns";s:4:"Node";}s:15:"dojo.setContext";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:12:"globalObject";a:1:{s:4:"type";s:6:"Object";}s:14:"globalDocument";a:1:{s:4:"type";s:15:"DocumentElement";}}s:6:"source";s:56:" dojo.global = globalObject; dojo.doc = globalDocument;";s:7:"summary";s:292:"changes the behavior of many core Dojo functions that deal with namespace and DOM lookup, changing them to work in a new global context (e.g., an iframe). The varibles dojo.global and dojo.doc are modified as a result of calling this function and the result of `dojo.body()` likewise differs.";}s:15:"dojo.withGlobal";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:4:{s:12:"globalObject";a:1:{s:4:"type";s:6:"Object";}s:8:"callback";a:1:{s:4:"type";s:8:"Function";}s:10:"thisObject";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}s:11:"cbArguments";a:2:{s:8:"optional";b:1;s:4:"type";s:5:"Array";}}s:6:"source";s:194:" var oldGlob = dojo.global; try{ dojo.global = globalObject; return dojo.withDoc.call(null, globalObject.document, callback, thisObject, cbArguments); }finally{ dojo.global = oldGlob; }";s:7:"summary";s:87:"Invoke callback with globalObject as dojo.global and globalObject.document as dojo.doc.";s:11:"description";s:279:"Invoke callback with globalObject as dojo.global and globalObject.document as dojo.doc. If provided, globalObject will be executed in the context of object thisObject When callback() returns or throws an error, the dojo.global and dojo.doc will be restored to its previous state.";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:12:"dojo.withDoc";}}}s:12:"dojo.withDoc";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:4:{s:14:"documentObject";a:1:{s:4:"type";s:15:"DocumentElement";}s:8:"callback";a:1:{s:4:"type";s:8:"Function";}s:10:"thisObject";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}s:11:"cbArguments";a:2:{s:8:"optional";b:1;s:4:"type";s:5:"Array";}}s:6:"source";s:355:" var oldDoc = dojo.doc, oldLtr = dojo._bodyLtr; try{ dojo.doc = documentObject; delete dojo._bodyLtr; // uncache if(thisObject && dojo.isString(callback)){ callback = thisObject[callback]; } return callback.apply(thisObject, cbArguments || []); }finally{ dojo.doc = oldDoc; if(oldLtr !== undefined){ dojo._bodyLtr = oldLtr; } }";s:7:"summary";s:48:"Invoke callback with documentObject as dojo.doc.";s:11:"description";s:220:"Invoke callback with documentObject as dojo.doc. If provided, callback will be executed in the context of object thisObject When callback() returns or throws an error, the dojo.doc will be restored to its previous state.";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}