aboutsummaryrefslogtreecommitdiff
path: root/node_modules
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-17 13:33:28 -0700
committerArmen Kesablyan2012-05-17 13:33:28 -0700
commitee3702894b5c69a74f47b22aa5f2c8f58ad0179c (patch)
tree7b4dba1e5a4212c770c95aef9e45c81ce5626007 /node_modules
parentc8d61c8e72e0eba266575f9df54325fa77fde73d (diff)
parent7e94d5786df400b599df3233b3086bfe9eff2bde (diff)
downloadninja-ee3702894b5c69a74f47b22aa5f2c8f58ad0179c.tar.gz
Merge pull request #3 from ericguzman/binding
Binding: Objects Panel Initialization
Diffstat (limited to 'node_modules')
-rwxr-xr-xnode_modules/montage/ui/application.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/montage/ui/application.js b/node_modules/montage/ui/application.js
index bbce6835..43443ecc 100755
--- a/node_modules/montage/ui/application.js
+++ b/node_modules/montage/ui/application.js
@@ -153,6 +153,9 @@ var Application = exports.Application = Montage.create(Montage, /** @lends monta
153 // assign to the exports so that it is available in the deserialization of the template 153 // assign to the exports so that it is available in the deserialization of the template
154 exports.application = self; 154 exports.application = self;
155 155
156 ///// TODO: Remove this hack when montage exposes this
157 this._template = template;
158
156 template.instantiateWithOwnerAndDocument(null, window.document, function() { 159 template.instantiateWithOwnerAndDocument(null, window.document, function() {
157 require("ui/component").__root__.needsDraw = true; 160 require("ui/component").__root__.needsDraw = true;
158 if (callback) { 161 if (callback) {