aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates/app
diff options
context:
space:
mode:
authorEric Guzman2012-05-25 16:37:24 -0700
committerEric Guzman2012-05-25 16:37:24 -0700
commit1f7c17d688c3340b31d2e1c2b7205b10bd806968 (patch)
treec37508ed332fea9121948c887e7f844f327b2ff3 /js/document/templates/app
parent1be5495b77c1dd426be3a6be05555254856de6ba (diff)
downloadninja-1f7c17d688c3340b31d2e1c2b7205b10bd806968.tar.gz
Objects Controller - Now keeps track of document's object instances, including added components
Diffstat (limited to 'js/document/templates/app')
-rw-r--r--js/document/templates/app/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js
index a406abdb..91c46fda 100644
--- a/js/document/templates/app/main.js
+++ b/js/document/templates/app/main.js
@@ -29,6 +29,7 @@ exports.Main = Montage.create(Component, {
29 var componentRequire = component[data.name]; 29 var componentRequire = component[data.name];
30 var componentInstance = componentRequire.create(); 30 var componentInstance = componentRequire.create();
31 31
32 componentInstance._montage_metadata.label = data.name;
32 componentInstance.element = element; 33 componentInstance.element = element;
33 34
34 componentInstance.needsDraw = true; 35 componentInstance.needsDraw = true;