1
0

helios.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.config({
  20. paths: {
  21. 'amber_cli': 'cli/src'
  22. }
  23. });
  24. require(
  25. ["helios/all", "amber_cli/AmberCli"],
  26. function (smalltalk) {
  27. window.require = window.requireNode;
  28. window.onbeforeunload = function() {
  29. return 'Do you want to close Amber? All uncommitted changes will be lost.';
  30. };
  31. smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
  32. smalltalk.globals.HLManager._setup();
  33. smalltalk.globals.HLManager._current()._setTheme_('niflheim');
  34. smalltalk.globals.HLManager._current()._setEditorTheme_('niflheim');
  35. smalltalk.globals.HLRemoteConnector._connect();
  36. }
  37. );
  38. </script>
  39. </div>
  40. </body>
  41. </html>