328 |
aurelien |
1 |
<html>
|
|
|
2 |
<head><script>
|
|
|
3 |
var $wnd = parent;
|
|
|
4 |
var $doc = $wnd.document;
|
|
|
5 |
var $moduleName, $moduleBase
|
|
|
6 |
,$stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;
|
|
|
7 |
if ($stats) {
|
|
|
8 |
var moduleFuncName = location.search.substr(1);
|
|
|
9 |
var moduleFunc = $wnd[moduleFuncName];
|
|
|
10 |
var moduleName = moduleFunc ? moduleFunc.moduleName : "unknown";
|
|
|
11 |
$stats({moduleName:moduleName,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});
|
|
|
12 |
}
|
|
|
13 |
</script></head>
|
|
|
14 |
<body>
|
|
|
15 |
<font face='arial' size='-1'>This html file is for hosted mode support.</font>
|
|
|
16 |
<script><!--
|
|
|
17 |
function gwtOnLoad(errFn, modName, modBase){
|
|
|
18 |
$moduleName = modName;
|
|
|
19 |
$moduleBase = modBase;
|
|
|
20 |
if (!external.gwtOnLoad(window, modName, "1.5")) {
|
|
|
21 |
if (errFn) {
|
|
|
22 |
errFn(modName);
|
|
|
23 |
}
|
|
|
24 |
}
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
window.fireOnModuleLoadStart = function(className) {
|
|
|
28 |
$stats && $stats({moduleName:$moduleName, subSystem:'startup', evtGroup:'moduleStartup', millis:(new Date()).getTime(), type:'onModuleLoadStart', className:className});
|
|
|
29 |
};
|
|
|
30 |
|
|
|
31 |
window.onunload = function() {
|
|
|
32 |
external.gwtOnLoad(window, null, "1.5");
|
|
|
33 |
};
|
|
|
34 |
|
|
|
35 |
window.__gwt_module_id = 0;
|
|
|
36 |
|
|
|
37 |
var query = window.location.search.substr(1);
|
|
|
38 |
$stats && $stats({moduleName:$moduleName,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});
|
|
|
39 |
if (query && $wnd[query]) $wnd[query].onScriptLoad();
|
|
|
40 |
--></script></body></html>
|