Browse Source

Merge pull request #748 from herby/amber-lang-set

amber/lang, pre-fetch of smalltalk.js
Nicolas Petton 11 years ago
parent
commit
86459e0d46
3 changed files with 24 additions and 29 deletions
  1. 4 15
      support/devel.js
  2. 3 14
      support/helios.js
  3. 17 0
      support/lang.js

+ 4 - 15
support/devel.js

@@ -1,5 +1,7 @@
 define([
-	'./deploy',
+	'amber_vm/smalltalk', // pre-fetch, dep of ./deploy
+	'./deploy', // pre-fetch, dep of ./lang
+	'./lang',
 	'jquery-ui',
 	'amber_lib/jquery-tabby/jquery.textarea',
 	'amber_lib/codemirror/lib/codemirror',
@@ -10,20 +12,7 @@ define([
 	'css!amber_lib/codemirror/addon/hint/show-hint',
 	'css!amber_inc/CodeMirror/amber',
 	'css!amber_css/amber',
-	'amber_core/SUnit',
-	'amber_core/Kernel-ImportExport',
-	'amber_core/Compiler-Exceptions',
-	'amber_core/Compiler-Core',
-	'amber_core/Compiler-AST',
-	'amber_core/Compiler-Semantic',
-	'amber_core/Compiler-IR',
-	'amber_core/Compiler-Inlining',
-	'amber_core/Compiler-Interpreter',
-	'amber_core/Compiler-Tests',
-	'amber_vm/parser',
 	'amber_core/IDE',
 	'amber_core/Examples',
-	'amber_core/Benchfib',
-	'amber_core/Kernel-Tests',
-	'amber_core/SUnit-Tests'
+	'amber_core/Benchfib'
 ], function (smalltalk) { return smalltalk; });

+ 3 - 14
support/helios.js

@@ -1,5 +1,7 @@
 define([
-	'./deploy',
+	'amber_vm/smalltalk', // pre-fetch, dep of ./deploy
+	'./deploy', // pre-fetch, dep of ./lang
+	'./lang',
 	'jquery-ui',
 	'amber_lib/jquery-tabby/jquery.textarea',
 	'amber_lib/bootstrap/js/bootstrap',
@@ -12,22 +14,9 @@ define([
 	'css!amber_lib/codemirror/addon/hint/show-hint',
 	'css!amber_inc/CodeMirror/amber',
 	'css!amber_css/helios',
-	'amber_core/SUnit',
-	'amber_core/Kernel-ImportExport',
-	'amber_core/Compiler-Exceptions',
-	'amber_core/Compiler-Core',
-	'amber_core/Compiler-AST',
-	'amber_core/Compiler-Semantic',
-	'amber_core/Compiler-IR',
-	'amber_core/Compiler-Inlining',
-	'amber_core/Compiler-Interpreter',
-	'amber_core/Compiler-Tests',
-	'amber_vm/parser',
 	'amber_core/IDE',
 	'amber_core/Examples',
 	'amber_core/Benchfib',
-	'amber_core/Kernel-Tests',
-	'amber_core/SUnit-Tests',
 	'amber_core/Spaces',
 	'amber_core/Helios-Core',
 	'amber_core/Helios-Exceptions',

+ 17 - 0
support/lang.js

@@ -0,0 +1,17 @@
+define([
+	'amber_vm/smalltalk', // pre-fetch, dep of ./deploy
+	'./deploy',
+	'amber_vm/parser',
+	'amber_core/Kernel-ImportExport',
+	'amber_core/Compiler-Exceptions',
+	'amber_core/Compiler-Core',
+	'amber_core/Compiler-AST',
+	'amber_core/Compiler-Semantic',
+	'amber_core/Compiler-IR',
+	'amber_core/Compiler-Inlining',
+	'amber_core/Compiler-Interpreter',
+	'amber_core/SUnit',
+	'amber_core/Compiler-Tests',
+	'amber_core/Kernel-Tests',
+	'amber_core/SUnit-Tests'
+], function (smalltalk) { return smalltalk; });