diff options
author | Jose Antonio Marquez | 2012-06-20 16:47:37 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-20 16:47:37 -0700 |
commit | 313a62245400e6c8cfa6d2f02c603cc7f01ddfc6 (patch) | |
tree | c207d1290be0e894a57b03098bbb7bbe5f2aee86 /node_modules/montage/core/core.js | |
parent | 2496e0d0b0ac5f8c53b12de77f0feda69ce4a2f4 (diff) | |
parent | 392a559e90357d48c910a07617261483b2b45476 (diff) | |
download | ninja-313a62245400e6c8cfa6d2f02c603cc7f01ddfc6.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'node_modules/montage/core/core.js')
-rwxr-xr-x | node_modules/montage/core/core.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/node_modules/montage/core/core.js b/node_modules/montage/core/core.js index 26733c94..9109b772 100755 --- a/node_modules/montage/core/core.js +++ b/node_modules/montage/core/core.js | |||
@@ -635,16 +635,4 @@ Object.defineProperty(Montage, "callDelegateMethod", { | |||
635 | return delegateFunction.apply(delegate, arguments); | 635 | return delegateFunction.apply(delegate, arguments); |
636 | } | 636 | } |
637 | } | 637 | } |
638 | }); | 638 | }); \ No newline at end of file |
639 | |||
640 | // XXX Does not presently function server-side | ||
641 | if (typeof window !== "undefined") { | ||
642 | |||
643 | var EventManager = require("core/event/event-manager").EventManager; | ||
644 | EventManager.create().initWithWindow(window); | ||
645 | |||
646 | // Now that we have a defaultEventManager we can setup the bindings system | ||
647 | require("core/event/binding"); | ||
648 | |||
649 | } | ||
650 | |||