diff options
author | Jose Antonio Marquez | 2012-05-24 11:44:35 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-24 11:44:35 -0700 |
commit | a6db492176a85546047dae6d5ecb9cfc4325e043 (patch) | |
tree | 8e00a27c6c908dda3e816d1f5aaf0d2a889ca5dc /js/document/document-html.js | |
parent | e64328dc08418730ca580d33381cb2001c7a96fd (diff) | |
download | ninja-a6db492176a85546047dae6d5ecb9cfc4325e043.tar.gz |
Final clean up of render callback for design view
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-x | js/document/document-html.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js index 157d7a0e..c60a12a2 100755 --- a/js/document/document-html.js +++ b/js/document/document-html.js | |||
@@ -83,8 +83,6 @@ exports.HtmlDocument = Montage.create(Component, { | |||
83 | this.model.views.design.model = this.model; | 83 | this.model.views.design.model = this.model; |
84 | //Rendering design view, using observers to know when template is ready | 84 | //Rendering design view, using observers to know when template is ready |
85 | this.model.views.design.render(function () { | 85 | this.model.views.design.render(function () { |
86 | //TODO: Why is this needed? | ||
87 | this.model.views.design._liveNodeList = this.documentRoot.getElementsByTagName('*'); | ||
88 | //Adding observer to know when template is ready | 86 | //Adding observer to know when template is ready |
89 | this._observer = new WebKitMutationObserver(this.handleTemplateReady.bind(this)); | 87 | this._observer = new WebKitMutationObserver(this.handleTemplateReady.bind(this)); |
90 | this._observer.observe(this.model.views.design.document.head, {childList: true}); | 88 | this._observer.observe(this.model.views.design.document.head, {childList: true}); |