source: [view]
var dbgQueue = dojo["_xdDebugQueue"];
if(dbgQueue && dbgQueue.length > 0 && resourceName == dbgQueue["currentResourceName"]){
//Set a timeout so the module can be executed into existence. Normally the
//dojo.provide call in a module is the first line. Don't want to risk attaching
//another script tag until the current one finishes executing.
if(dojo.isAIR){
window.setTimeout(function(){dojo._xdDebugFileLoaded(resourceName);}, 1);
}else{
window.setTimeout(dojo._scopeName + "._xdDebugFileLoaded('" + resourceName + "')", 1);
}
}
return dojo.nonDebugProvide.apply(dojo, arguments);