if(!this.hasOfflineCache){this.onLoad();
}elseif(this.enabled){// kick off a thread to check network status on// a regular basisthis._startNetworkThread();
// try to go onlinethis.goOnline(dojo.hitch(this, function(){//console.debug("Finished trying to go online");// indicate we are ready to be used
dojox.off.onLoad();
}));
}else{// we are disabled or a core operation failedif(this.coreOpFailed){this.onFrameworkEvent("coreOperationFailed");
}else{this.onLoad();
}}