2
0

helios.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Helios IDE</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="author" content="Nicolas Petton" />
  7. <link type="image/x-icon" rel="shortcut icon" href="/favicon.ico"/>
  8. </head>
  9. <body id="helios">
  10. <div id="helper">Loading Helios...</div>
  11. <script type="text/javascript">
  12. window.requireNode = window.require;
  13. window.require = undefined;
  14. </script>
  15. <div id="includes">
  16. <script type='text/javascript' src='support/requirejs/require.min.js'></script>
  17. <script type='text/javascript' src='support/amber.js'></script>
  18. <script type='text/javascript'>
  19. require(
  20. ["helios/all"],
  21. function (smalltalk) {
  22. window.require = window.requireNode;
  23. window.onbeforeunload = function() {
  24. return 'Do you want to close Amber? All uncommitted changes will be lost.';
  25. };
  26. smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
  27. smalltalk.globals.HLManager._setup();
  28. smalltalk.globals.HLManager._current()._setTheme_('niflheim');
  29. smalltalk.globals.HLManager._current()._setEditorTheme_('niflheim');
  30. smalltalk.globals.HLRemoteConnector._connect();
  31. }
  32. );
  33. </script>
  34. </div>
  35. </body>
  36. </html>