|
@@ -23,9 +23,12 @@
|
|
|
require.baseUrl = base;
|
|
|
require.paths['helios/app'] = require.paths['helios/index'].replace("index", "app");
|
|
|
require.callback = function () {
|
|
|
- require(["helios/app", "amber_core/Platform-Browser"], function (amber) {
|
|
|
- amber.initialize({'transport.defaultAmdNamespace': "helios"}).then(function () {
|
|
|
- amber.globals.HLManager._setup();
|
|
|
+ require(["amber/es6-promise"], function (promiseLib) {
|
|
|
+ promiseLib.polyfill();
|
|
|
+ require(["helios/app", "amber_core/Platform-Browser"], function (amber) {
|
|
|
+ amber.initialize({'transport.defaultAmdNamespace': "helios"}).then(function () {
|
|
|
+ amber.globals.HLManager._setup();
|
|
|
+ });
|
|
|
});
|
|
|
});
|
|
|
};
|