From 7e94d5786df400b599df3233b3086bfe9eff2bde Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Wed, 16 May 2012 22:58:24 -0700 Subject: Objects Panel - Add Objects controller and montage/application hack to expose template --- node_modules/montage/ui/application.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node_modules/montage') 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 // assign to the exports so that it is available in the deserialization of the template exports.application = self; + ///// TODO: Remove this hack when montage exposes this + this._template = template; + template.instantiateWithOwnerAndDocument(null, window.document, function() { require("ui/component").__root__.needsDraw = true; if (callback) { -- cgit v1.2.3