helios.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. <div id="includes">
  12. <script type='text/javascript' src='support/amber.js'></script>
  13. <script type='text/javascript' src='support/requirejs/require.min.js'></script>
  14. <script type='text/javascript'>
  15. require.config({
  16. config: {
  17. 'amber_vm/smalltalk': {
  18. defaultNamespace: 'amber'
  19. }
  20. }
  21. });
  22. require(
  23. ["amber_vm/smalltalk", "amber_set/full-devel-helios"],
  24. function (smalltalk) {
  25. window.onbeforeunload = function() {
  26. return 'Do you want to close Amber? All uncommitted changes will be lost.';
  27. };
  28. smalltalk.initialize();
  29. }
  30. );
  31. </script>
  32. </div>
  33. </body>
  34. </html>