aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/templates')
-rw-r--r--js/document/templates/app/main.js1
-rwxr-xr-xjs/document/templates/html/index.html5
2 files changed, 5 insertions, 1 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js
index 0cdf718c..bb4cd829 100644
--- a/js/document/templates/app/main.js
+++ b/js/document/templates/app/main.js
@@ -61,6 +61,7 @@ exports.Main = Montage.create(Component, {
61 var componentRequire = component[data.name]; 61 var componentRequire = component[data.name];
62 var componentInstance = componentRequire.create(); 62 var componentInstance = componentRequire.create();
63 63
64 componentInstance._montage_metadata.label = componentInstance.identifier = data.name;
64 componentInstance.element = element; 65 componentInstance.element = element;
65 66
66 componentInstance.needsDraw = true; 67 componentInstance.needsDraw = true;
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html
index 8fc0d82f..bee2e557 100755
--- a/js/document/templates/html/index.html
+++ b/js/document/templates/html/index.html
@@ -113,7 +113,10 @@
113 <script type="text/montage-serialization" data-ninja-template="true"> 113 <script type="text/montage-serialization" data-ninja-template="true">
114 { 114 {
115 "owner": { 115 "owner": {
116 "prototype": "main" 116 "prototype": "main",
117 "properties": {
118 "identifier": "testOwner"
119 }
117 } 120 }
118 } 121 }
119 </script> 122 </script>