1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <!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'>
- var base = decodeURIComponent(window.location.search.slice(1));
- var script = document.createElement("script");
- script.src = base + "/config.js";
- document.getElementsByTagName("head")[0].appendChild(script);
- var __interval = setInterval(function () {
- if (typeof require !== "undefined") {
- clearInterval(__interval);
- require.baseUrl = base;
- var amberPath = base + "/" + require.paths.amber;
- require.callback = function () {
- require(["helios/set"], 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 = document.createElement("script");
- script.src = amberPath + "/requirejs/require.min.js";
- document.getElementsByTagName("head")[0].appendChild(script);
- }
- }, 200);
- </script>
- </div>
- </body>
- </html>
|