Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F1043089
loader_debug.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
loader_debug.js
View Options
if
(
!
dojo
.
_hasResource
[
"dojo._base._loader.loader_debug"
]){
//_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo
.
_hasResource
[
"dojo._base._loader.loader_debug"
]
=
true
;
dojo
.
provide
(
"dojo._base._loader.loader_debug"
);
//Override dojo.provide, so we can trigger the next
//script tag for the next local module. We can only add one
//at a time because there are browsers that execute script tags
//in the order that the code is received, and not in the DOM order.
dojo
.
nonDebugProvide
=
dojo
.
provide
;
dojo
.
provide
=
function
(
resourceName
){
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.
window
.
setTimeout
(
"dojo._xdDebugFileLoaded('"
+
resourceName
+
"')"
,
1
);
}
return
dojo
.
nonDebugProvide
.
apply
(
dojo
,
arguments
);
}
dojo
.
_xdDebugFileLoaded
=
function
(
resourceName
){
var
dbgQueue
=
this
.
_xdDebugQueue
;
if
(
resourceName
&&
resourceName
==
dbgQueue
.
currentResourceName
){
dbgQueue
.
shift
();
}
if
(
dbgQueue
.
length
==
0
){
dbgQueue
.
currentResourceName
=
null
;
this
.
_xdNotifyLoaded
();
}
else
{
dbgQueue
.
currentResourceName
=
dbgQueue
[
0
].
resourceName
;
var
element
=
document
.
createElement
(
"script"
);
element
.
type
=
"text/javascript"
;
element
.
src
=
dbgQueue
[
0
].
resourcePath
;
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
element
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 16, 05:02 (17 h, 53 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27262
Default Alt Text
loader_debug.js (1 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment