瀏覽代碼

kernel: small formal change

Herbert Vojčík 7 年之前
父節點
當前提交
fc011c5287
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      support/boot.js

+ 1 - 4
support/boot.js

@@ -46,10 +46,7 @@ define([
 
     require(['./kernel-runtime']); // preload
 
-    SmalltalkInitBrik.deps = ["classes"];
     function SmalltalkInitBrik (brikz, st) {
-        var bootstrapHierarchy = brikz.classes.bootstrapHierarchy;
-
         var initialized = false;
         var runtimeLoadedPromise = new Promise(function (resolve, reject) {
             require(['./kernel-runtime'], resolve, reject);
@@ -60,7 +57,7 @@ define([
         st.initialize = function () {
             return runtimeLoadedPromise.then(function (configureWithRuntime) {
                 if (initialized) return;
-                bootstrapHierarchy();
+                brikz.classes.bootstrapHierarchy();
                 configureWithRuntime(brikz);
                 brikz.startImage.run();
                 initialized = true;