Browse Source

remove uses of low-level (non-st) deprecations

Herbert Vojčík 9 years ago
parent
commit
11c31d77c4
2 changed files with 4 additions and 4 deletions
  1. 3 3
      index.html
  2. 1 1
      set.js

+ 3 - 3
index.html

@@ -20,13 +20,13 @@
             clearInterval(__interval);
             require.baseUrl = base;
             require.callback = function () {
-              require(["helios/set"], function (smalltalk) {
+              require(["helios/set"], function (amber) {
                 window.onbeforeunload = function() {
                   return 'Do you want to close Amber? All uncommitted changes will be lost.';
                 };
 
-                smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
-                smalltalk.globals.HLManager._setup();
+                amber.initialize({'transport.defaultAmdNamespace': "amber_core"});
+                amber.globals.HLManager._setup();
               });
             };
             script = document.createElement("script");

+ 1 - 1
set.js

@@ -13,4 +13,4 @@ define([
     'css!./resources/helios',
 	'css!./resources/helios-niflheim',
     'css!./resources/niflheim'
-], function (smalltalk) { return smalltalk; });
+], function (amber) { return amber; });