Explorar el Código

Revert "kernel: prevent double init of a context"

This reverts commit 5628ad8815f87dcb7eca7e1e8d61c970a115a6af.

Later init is rational (sets later values).
Herbert Vojčík hace 7 años
padre
commit
e3cb078f02
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  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();