Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
dojo.provide("dojo.browser_debug_xd");
dojo.nonDebugProvide=dojo.provide;
dojo.provide=function(_1){
var _2=dojo.hostenv["xdDebugQueue"];
if(_2&&_2.length>0&&_1==_2["currentResourceName"]){
window.setTimeout("dojo.hostenv.xdDebugFileLoaded('"+_1+"')",1);
}
dojo.nonDebugProvide.apply(dojo,arguments);
};
dojo.hostenv.xdDebugFileLoaded=function(_3){
var _4=this.xdDebugQueue;
if(_3&&_3==_4.currentResourceName){
_4.shift();
}
if(_4.length==0){
_4.currentResourceName=null;
this.xdNotifyLoaded();
}else{
_4.currentResourceName=_4[0].resourceName;
var _5=document.createElement("script");
_5.type="text/javascript";
_5.src=_4[0].resourcePath;
document.getElementsByTagName("head")[0].appendChild(_5);
}
};
New to GrepCode? Check out our FAQ X