PageRenderTime 40ms CodeModel.GetById 24ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0
  1. <html>
  2. <head>
  3. <script>
  4. var $wnd = parent;
  5. var $doc = $wnd.document;
  6. var $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. %(app_body)s
  13. <script><!--
  14. %(app_libs)s
  15. %(app_code)s
  16. function run() {
  17. app = new %(app_name)s();
  18. app.onModuleLoad();
  19. }
  20. function pygwtOnLoad(onLoadError, name) {
  21. if (onLoadError)
  22. try {
  23. run();
  24. } catch (exception) {
  25. onLoadError(name);
  26. }
  27. else {
  28. run();
  29. }
  30. }
  31. --></script>
  32. </body>
  33. </html>