Browse Source

Sets returning amber_vm/smalltalk

Herbert Vojčík 11 years ago
parent
commit
8491b09edb
4 changed files with 6 additions and 4 deletions
  1. 1 1
      helios.html
  2. 1 1
      index.html
  3. 2 1
      support/full-devel-helios.js
  4. 2 1
      support/full-devel.js

+ 1 - 1
helios.html

@@ -14,7 +14,7 @@
       <script type='text/javascript' src='support/requirejs/require.min.js'></script>
       <script type='text/javascript'>
           require(
-                  ["amber_vm/smalltalk", "amber_set/full-devel-helios"],
+                  ["amber_set/full-devel-helios"],
                   function (smalltalk) {
                       window.onbeforeunload = function() {
                           return 'Do you want to close Amber? All uncommitted changes will be lost.';

+ 1 - 1
index.html

@@ -12,7 +12,7 @@
 <body>
 <script type='text/javascript'>
     require(
-        ["amber_vm/smalltalk", "amber_set/full-devel"],
+        ["amber_set/full-devel"],
         function (smalltalk) {
             smalltalk.defaultAMDNamespace = "amber_core";
             smalltalk.initialize();

+ 2 - 1
support/full-devel-helios.js

@@ -1,4 +1,5 @@
 define([
+    'amber_vm/smalltalk',
     'jquery',
     'jquery-ui',
     'jQuery/jquery.textarea',
@@ -52,4 +53,4 @@ define([
     'amber_core/Helios-References',
     'amber_core/Helios-Announcements',
     'amber_core/Helios-Workspace-Tests'
-], {});
+], function (smalltalk) { return smalltalk; });

+ 2 - 1
support/full-devel.js

@@ -1,4 +1,5 @@
 define([
+    'amber_vm/smalltalk',
     'jquery',
     'jquery-ui',
     'jQuery/jquery.textarea',
@@ -34,4 +35,4 @@ define([
     'amber_core/Benchfib',
     'amber_core/Kernel-Tests',
     'amber_core/SUnit-Tests'
-], {});
+], function (smalltalk) { return smalltalk; });