PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/builder/boilerplate/all.cache.html

http://pyjamas.googlecode.com/
HTML | 39 lines | 16 code | 2 blank | 21 comment | 0 complexity | e8eb4796c6666f3640a94e39e830afa0 MD5 | raw file
 1<html>
 2<head>
 3<script>
 4var $wnd = parent;
 5var $doc = $wnd.document;
 6var $moduleName = "%(app_name)s";
 7</script>
 8%(app_headers)s
 9</head>
10<body onload="if (parent && parent.__pygwt_webModeFrameOnLoad) parent.__pygwt_webModeFrameOnLoad(window, '%(app_name)s');">
11<font face='arial' size='-1'>This script is part of module</font> <code>%(app_name)s</code>
12
13%(app_body)s
14
15<script><!--
16
17%(app_libs)s
18%(app_code)s
19
20function run() {
21    app = new %(app_name)s();
22    app.onModuleLoad();
23}
24
25function pygwtOnLoad(onLoadError, name) {
26    if (onLoadError)
27        try {
28            run();
29        } catch (exception) {
30            onLoadError(name);
31        }
32    else {
33            run();
34    }
35}
36
37--></script>
38</body>
39</html>