dojox.off._onLoad
dojo.require("dojox.off._common");
defined in dojox/off/_common.js
Usage
function () (view source)
dojox.off.files.cache(dojo.moduleUrl("dojo", "dojo.js")); // pull in the files needed by Dojo this._cacheDojoResources(); // FIXME: need to pull in the firebug lite files here! // workaround or else we will get an error on page load // from Dojo that it can't find 'console.debug' for optimized builds // dojox.off.files.cache(dojo.config.baseRelativePath + "src/debug.js"); // make sure that resources needed by all of our underlying // Dojo Storage storage providers will be available // offline dojox.off.files.cache(dojox.storage.manager.getResourceList()); // slurp the page if the end-developer wants that dojox.off.files._slurp(); // see if we have an offline cache; when done, move // on to the rest of our startup tasks this._checkOfflineCacheAvailable(dojo.hitch(this, "_onOfflineCacheChecked"));