aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-21 15:46:26 -0700
committerArmen Kesablyan2012-06-21 15:46:26 -0700
commit4565558afff6fb07db3b5165042e028f467ac41b (patch)
treef1f0b76d4906c0f88afc1dabf3b807ef97039046 /js/document
parentd9f9a65226dfe26500e82061cc38a7dda302f720 (diff)
downloadninja-4565558afff6fb07db3b5165042e028f467ac41b.tar.gz
Binding View :Requested Changes for Pull Request
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/templates/html/index.html5
-rwxr-xr-xjs/document/views/design.js3
2 files changed, 2 insertions, 6 deletions
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html
index bee2e557..8fc0d82f 100755
--- a/js/document/templates/html/index.html
+++ b/js/document/templates/html/index.html
@@ -113,10 +113,7 @@
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 }
120 } 117 }
121 } 118 }
122 </script> 119 </script>
diff --git a/js/document/views/design.js b/js/document/views/design.js
index 6a6f565d..4a75a1b4 100755
--- a/js/document/views/design.js
+++ b/js/document/views/design.js
@@ -454,8 +454,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
454 initMontage: { 454 initMontage: {
455 value: function (scripttags) { 455 value: function (scripttags) {
456 var self = this; 456 var self = this;
457 // 457
458 //debugger;
459 this.iframe.contentWindow.document.body.addEventListener('mjsTemplateReady', function () { 458 this.iframe.contentWindow.document.body.addEventListener('mjsTemplateReady', function () {
460 //Initializing template with user's seriliazation 459 //Initializing template with user's seriliazation
461 var template = this.iframe.contentWindow.mjsTemplate.create(); 460 var template = this.iframe.contentWindow.mjsTemplate.create();