Browse Source

helios: not exporting helios/set in .amd.json

Herbert Vojčík 9 years ago
parent
commit
5b8f465e14
3 changed files with 2 additions and 2 deletions
  1. 0 0
      app.js
  2. 2 1
      index.html
  3. 0 1
      local.amd.json

+ 0 - 0
set.js → app.js


+ 2 - 1
index.html

@@ -19,8 +19,9 @@
           if (typeof require !== "undefined") {
             clearInterval(__interval);
             require.baseUrl = base;
+            require.paths['helios/app'] = require.paths['helios/index'].replace("/index", "/app");
             require.callback = function () {
-              require(["helios/set"], function (amber) {
+              require(["helios/app"], function (amber) {
                 window.onbeforeunload = function() {
                   return 'Do you want to close Amber? All uncommitted changes will be lost.';
                 };

+ 0 - 1
local.amd.json

@@ -1,7 +1,6 @@
 {
     "paths": {
         "helios": "src",
-        "helios/set": "set",
         "helios/resources": "resources",
         "helios/index": "index"
     }