Browse Source

Explicit platform package.

Herbert Vojčík 6 years ago
parent
commit
111584b8f5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.html

+ 2 - 2
index.html

@@ -20,10 +20,10 @@
             clearInterval(__interval);
             require.baseUrl = base;
             require.paths['helios/app'] = require.paths['helios/index'].replace("index", "app");
-            require.map["*"]["amber/Platform"] = "amber_core/Platform-Browser";
+            require.map["*"]["amber/Platform"] = "helios/app"; // eg. nothing, TODO remove
             require.map["*"]["amber/compatibility"] = "amber/browser-compatibility";
             require.callback = function () {
-              require(["helios/app"], function (amber) {
+              require(["helios/app", "amber_core/Platform-Browser"], function (amber) {
                 amber.initialize({'transport.defaultAmdNamespace': "amber_core"}).then(function () {
                   amber.globals.HLManager._setup();
                 });