Browse Source

kernel: Small refactoring.

Herbert Vojčík 7 years ago
parent
commit
d427d26e28
1 changed files with 4 additions and 2 deletions
  1. 4 2
      support/kernel-runtime.js

+ 4 - 2
support/kernel-runtime.js

@@ -402,10 +402,12 @@ define(function () {
         };
     }
 
-    StartImageBrik.deps = ["frameBinding", "runtimeMethods", "runtime", "primitives"];
+    StartImageBrik.deps = ["smalltalkGlobals"];
     function StartImageBrik (brikz, st) {
+        var globals = brikz.smalltalkGlobals.globals;
+
         this.run = function () {
-            brikz.smalltalkGlobals.globals.AmberBootstrapInitialization._run();
+            globals.AmberBootstrapInitialization._run();
         };
     }