From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/document/views/code.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'js/document/views/code.js') diff --git a/js/document/views/code.js b/js/document/views/code.js index 7df7e1c6..6648b353 100755 --- a/js/document/views/code.js +++ b/js/document/views/code.js @@ -30,15 +30,15 @@ POSSIBILITY OF SUCH DAMAGE. //////////////////////////////////////////////////////////////////////// // -var Montage = require("montage/core/core").Montage, - Component = require("montage/ui/component").Component, - BaseDocumentView = require("js/document/views/base").BaseDocumentView; +var Montage = require("montage/core/core").Montage, + Component = require("montage/ui/component").Component, + BaseDocumentView = require("js/document/views/base").BaseDocumentView; //////////////////////////////////////////////////////////////////////// // exports.CodeDocumentView = Montage.create(BaseDocumentView, { - //////////////////////////////////////////////////////////////////// - // - hasTemplate: { + //////////////////////////////////////////////////////////////////// + // + hasTemplate: { value: false }, //////////////////////////////////////////////////////////////////// @@ -103,7 +103,7 @@ exports.CodeDocumentView = Montage.create(BaseDocumentView, { //Creates a new instance of a code editor initializeTextView: { value: function(file, textDocument) { - // + // var type; // switch(file.extension) { @@ -146,7 +146,7 @@ exports.CodeDocumentView = Montage.create(BaseDocumentView, { // show: { value: function (callback) { - // + // this.textViewContainer.style.display = "block"; // if (callback) callback(); @@ -156,7 +156,7 @@ exports.CodeDocumentView = Montage.create(BaseDocumentView, { // hide: { value: function (callback) { - // + // this.textViewContainer.style.display = "none"; // if (callback) callback(); -- cgit v1.2.3