diff options
Diffstat (limited to 'js/document/text-document.js')
-rwxr-xr-x | js/document/text-document.js | 26 |
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: { |