aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/html-document.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 3f39c4df..80930af2 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -770,7 +770,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
770 } 770 }
771 } 771 }
772 } 772 }
773 return {mode: 'html', document: this._userDocument, webgl: this.glData, styles: styles, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML}; 773 //return {mode: 'html', document: this._userDocument, webgl: this.glData, styles: styles, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML};
774 return {mode: 'html', document: this._userDocument, styles: styles, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML};
774 } else if (this.currentView === "code"){ 775 } else if (this.currentView === "code"){
775 //TODO: Would this get call when we are in code of HTML? 776 //TODO: Would this get call when we are in code of HTML?
776 } else { 777 } else {
@@ -793,7 +794,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
793 } 794 }
794 } 795 }
795 } 796 }
796 return {mode: 'html', document: this._userDocument, webgl: this.glData, css: css, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML}; 797 //return {mode: 'html', document: this._userDocument, webgl: this.glData, css: css, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML};
798 return {mode: 'html', document: this._userDocument, css: css, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML};
797 } else if (this.currentView === "code"){ 799 } else if (this.currentView === "code"){
798 //TODO: Would this get call when we are in code of HTML? 800 //TODO: Would this get call when we are in code of HTML?
799 } else { 801 } else {