1
0
Ver Fonte

.html in helios namespace, format, compile .less

Herbert Vojčík há 10 anos atrás
commit
fcdced891e
1 ficheiros alterados com 30 adições e 0 exclusões
  1. 30 0
      index.html

+ 30 - 0
index.html

@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Helios IDE</title>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+    <meta name="author" content="Nicolas Petton" />
+    <link type="image/x-icon" rel="shortcut icon" href="/favicon.ico"/>
+  </head>
+  <body id="helios">
+    <div id="helper">Loading Helios...</div>
+
+    <div id="includes">
+      <script type='text/javascript' src='../amber.js'></script>
+      <script type='text/javascript' src='../requirejs/require.min.js'></script>
+      <script type='text/javascript'>
+          require(
+                  ["amber/helios"],
+                  function (smalltalk) {
+                      window.onbeforeunload = function() {
+                          return 'Do you want to close Amber? All uncommitted changes will be lost.';
+                      };
+
+                      smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
+					  smalltalk.globals.HLManager._setup();
+                  }
+          );
+      </script>
+    </div>
+  </body>
+</html>