Browse Source

No need to store singletons.

They are injected throughout boot.js.
Herby Vojčík 5 năm trước cách đây
mục cha
commit
0a72a6bc60
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      lang/base/boot.js

+ 0 - 3
lang/base/boot.js

@@ -81,9 +81,6 @@ define([
     var api = {};
     var brikz = Brikz(api);
 
-    Object.defineProperty(brikz, "commonGlobals", {value: globals});
-    Object.defineProperty(brikz, "commonEmit", {value: emit});
-
     var fundamentals = FundamentalsFactory(globals, emit);
     fundamentals.configure(brikz);