aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-17 13:33:43 -0700
committerArmen Kesablyan2012-05-17 13:33:43 -0700
commit9ee3e1c548758a168a2008847a9136dd52398cf2 (patch)
treed4a239112d0ed9e078262dc287888c744a50797f /node_modules/montage
parentd48f086ad64badf07b5f82bf6e0216074eac7a25 (diff)
parentee3702894b5c69a74f47b22aa5f2c8f58ad0179c (diff)
downloadninja-9ee3e1c548758a168a2008847a9136dd52398cf2.tar.gz
Merge branch 'binding' of https://github.com/dhg637/ninja-internal into binding
Diffstat (limited to 'node_modules/montage')
-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) {