Browse Source

Move to use `globalThis`. Scaffolding for Amber 0.30.

Herby Vojčík 2 months ago
parent
commit
b5dae55d1d

+ 1 - 1
grunt-init-project/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@ambers/grunt-init-amber-project",
-  "version": "0.29.1",
+  "version": "0.30.0",
   "description": "grunt-init template for amber project",
   "main": "template.js",
   "scripts": {

+ 1 - 1
grunt-init-project/root/index.html

@@ -24,7 +24,7 @@
 <ol id="output-list"></ol>
 <!-- EXAMPLE APP END -->
 <script type='text/javascript'>
-    var global = typeof global === "undefined" ? window : global || window;
+    var globalThis = typeof globalThis === "undefined" ? window : globalThis || window;
     require(['app'], function (amberPromise) {
         amberPromise.then(function (amber) {
             amber.initialize({

+ 2 - 2
grunt-init-project/template.js

@@ -119,13 +119,13 @@ exports.template = function (grunt, init, done) {
             "@ambers/contrib-jquery": "^0.6.0",
             "@ambers/contrib-web": "^0.8.2",
             "@ambers/domite": "^0.9.0",
-            "@ambers/lang": "^0.29.2",
+            "@ambers/lang": "^0.30.0",
             "@ambers/silk": "^0.6.0",
             "es6-promise": "^4.2.6"
         };
         props.devDependencies = {
             "@ambers/contrib-legacy": "^0.10.1",
-            "@ambers/helios": "^0.13.0",
+            "@ambers/helios": "^0.13.2",
             "@ambers/ide-starter-modal": "^0.2.0",
             "@ambers/sdk": "^0.12.1",
             "grunt": "^1.0.3",