1
0
Ver Fonte

Revert "kernel: prevent double init of a context"

This reverts commit 5628ad8815f87dcb7eca7e1e8d61c970a115a6af.

Later init is rational (sets later values).
Herbert Vojčík há 7 anos atrás
pai
commit
e3cb078f02
1 ficheiros alterados com 0 adições e 4 exclusões
  1. 0 4
      support/kernel-runtime.js

+ 0 - 4
support/kernel-runtime.js

@@ -10,9 +10,6 @@ define(function () {
         });
     }
 
-    function noop () {
-    }
-
     DNUBrik.deps = ["selectors", "smalltalkGlobals", "manipulation", "classes"];
     function DNUBrik (brikz, st) {
         var selectorsBrik = brikz.selectors;
@@ -274,7 +271,6 @@ define(function () {
             var frame = this;
             while (frame) {
                 if (frame.init !== this.init) return frame.init();
-                frame.init = noop;
                 frame.setup(frame);
                 if (frame.outerContext) {
                     frame.outerContext.init();