aboutsummaryrefslogtreecommitdiff
path: root/js/document/text-document.js
diff options
context:
space:
mode:
authorEric Guzman2012-02-22 23:19:45 -0800
committerEric Guzman2012-02-22 23:19:45 -0800
commit9e8cd4448a6d0f809a55c3bdea8b45ed75339794 (patch)
treec7b5105153f17aedecd0669c611dbea44be7374c /js/document/text-document.js
parenta5ee11857f923d3e49b44c0a8c480e9d0b026d5b (diff)
parent2afef244a3f8124f8a049e504e9782c05904ce23 (diff)
downloadninja-9e8cd4448a6d0f809a55c3bdea8b45ed75339794.tar.gz
Merge branch 'refs/heads/master' into CSSPanelUpdates
Diffstat (limited to 'js/document/text-document.js')
-rwxr-xr-xjs/document/text-document.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/js/document/text-document.js b/js/document/text-document.js
index 3e20e1f6..88464d87 100755
--- a/js/document/text-document.js
+++ b/js/document/text-document.js
@@ -27,7 +27,7 @@ var TextDocument = exports.TextDocument = Montage.create(Component, {
27 // PRIVATE MEMBERS 27 // PRIVATE MEMBERS
28 _codeEditor: { 28 _codeEditor: {
29 value: { 29 value: {
30 "editor": { value: null, enumerable: false }, 30 "editor": { value: null, enumerable: false }
31 31
32 } 32 }
33 }, 33 },
@@ -120,15 +120,15 @@ var TextDocument = exports.TextDocument = Montage.create(Component, {
120 120
121 121
122 /** Private Members **/ 122 /** Private Members **/
123 _name: { value: null, enumerable: false }, 123 _name: { value: null, enumerable: false },
124 _uri: { value: null, enumerable: false }, 124 _uri: { value: null, enumerable: false },
125 _documentType: { value: null, enumerable: false }, 125 _documentType: { value: null, enumerable: false },
126 _container: {value: null, enumerable: false }, 126 _container: { value: null, enumerable: false },
127 _uuid: { value: null, enumerable: false }, 127 _uuid: { value: null, enumerable: false },
128 _isActive: { value: true, enumerable: false }, 128 _isActive: { value: true, enumerable: false },
129 _dirtyFlag: { value: false, enumerable: false }, 129 _needsSave: { value: false, enumarable: false },
130 _callback: { value: null, enumerable: false }, 130 _callback: { value: null, enumerable: false },
131 _currentView: { value: null, enumerable: false}, 131 _currentView: { value: null, enumerable: false},
132 132
133 /** Getters/Setters **/ 133 /** Getters/Setters **/
134 name: { 134 name: {
@@ -161,9 +161,9 @@ var TextDocument = exports.TextDocument = Montage.create(Component, {
161 set: function(value) { this._isActive = value; } 161 set: function(value) { this._isActive = value; }
162 }, 162 },
163 163
164 dirtyFlag: { 164 needsSave: {
165 get: function() { return this._dirtyFlag; }, 165 get: function() { return this._needsSave; },
166 set: function(value) { this._dirtyFlag = value; } 166 set: function(value) { this._needsSave = value }
167 }, 167 },
168 168
169 callback: { 169 callback: {