aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui
diff options
context:
space:
mode:
authorEric Guzman2012-05-16 22:58:24 -0700
committerEric Guzman2012-05-16 22:58:24 -0700
commit7e94d5786df400b599df3233b3086bfe9eff2bde (patch)
tree7b4dba1e5a4212c770c95aef9e45c81ce5626007 /node_modules/montage/ui
parenta40184e08a7ee2f189f133fd7bd83480e4bfc7f2 (diff)
downloadninja-7e94d5786df400b599df3233b3086bfe9eff2bde.tar.gz
Objects Panel - Add Objects controller and montage/application hack to expose template
Diffstat (limited to 'node_modules/montage/ui')
-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) {