Browse Source

Different preload setup.

Hopefully a bit faster dev-time load time.
Herbert Vojčík 1 year ago
parent
commit
98db4a31cd
4 changed files with 5 additions and 8 deletions
  1. 2 2
      internal/index.html
  2. 0 3
      support/deploy.js
  3. 3 2
      support/devel.js
  4. 0 1
      support/lang.js

+ 2 - 2
internal/index.html

@@ -9,8 +9,8 @@
         var require = {
             baseUrl: "..",
             map: {"*": {
-                "amber/Platform": "amber/devel", //eg. nothing, TODO remove
-                "amber/compatibility": "amber/devel" //eg. nothing, TODO remove
+                "amber/Platform": "amber/brikz", //eg. nothing, TODO remove
+                "amber/compatibility": "amber/brikz" //eg. nothing, TODO remove
             }}
         };
     </script>

+ 0 - 3
support/deploy.js

@@ -1,8 +1,5 @@
 define([
     './helpers',
-    './compatibility', // pre-fetch, dep of ./boot, TODO remove
-    './kernel-fundamentals', // pre-fetch, dep of ./boot
-    './kernel-language', // pre-fetch, dep of ./boot
     './boot', // pre-fetch, dep of ./helpers
     // --- packages of the core Amber begin here ---
     'amber_core/Kernel-Helpers',

+ 3 - 2
support/devel.js

@@ -1,10 +1,11 @@
 define([
     './lang',
     './compatibility', // pre-fetch, dep of ./boot, TODO remove
+    './brikz', // pre-fetch, dep of ./boot
+    './kernel-checks', // pre-fetch, dep of ./boot
     './kernel-fundamentals', // pre-fetch, dep of ./boot
     './kernel-language', // pre-fetch, dep of ./boot
-    './boot', // pre-fetch, dep of ./helpers
-    './helpers', // pre-fetch, dep of ./deploy
+    './boot', // pre-fetch, class loader
     './deploy', // pre-fetch, dep of ./lang
     // --- packages of the development only Amber begin here ---
     'amber_core/Platform-DOM',

+ 0 - 1
support/lang.js

@@ -1,6 +1,5 @@
 define([
     './deploy',
-    './compatibility', // pre-fetch, dep of ./boot, TODO remove
     './boot', // pre-fetch, dep of ./helpers
     './helpers', // pre-fetch, dep of ./deploy
     './parser',