Hi,
I am trying to figureout, what "onModuleLoad()" becomes after gwt
compilation.
Basically to figure out the magic behind "onLoadModule".
All is well, java script gets loaded in head. But how on the earth any
function inside that script got
executed, are there any events, that Browser fires once script is
loaded?
I checked compiled code, here there suspects. I am not javascript
guru, can somebody throw some light on this.
" schooldistrict.nocache.js" is the main java script name for my GWT
app.
===================== here are three suspects =======
schooldistrict.onInjectionDone = function(){
scriptsDone = true;
$stats && $stats({moduleName:$intern_1, sessionId:$sessionId,
subSystem:$intern_2, evtGroup:$intern_51, millis:(new Date).getTime(),
type:$intern_9});
maybeStartModule();
}
-------------------------------------------------
schooldistrict.onScriptLoad = function(){
if (frameInjected) {
loadDone = true;
maybeStartModule();
}
}
-------------------------------------------------------------
var onBodyDoneTimerId = setInterval(function(){
if (/loaded|complete/.test($doc.readyState)) {
maybeInjectFrame();
onBodyDone();
}
}
, 50);
--------------------------------------
Global school district
http://schoolk12.appspot.com/