aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/text-document.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/js/document/text-document.js b/js/document/text-document.js
index 3e20e1f6..1132ba65 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 },
@@ -192,5 +192,17 @@ var TextDocument = exports.TextDocument = Montage.create(Component, {
192 value: function() { 192 value: function() {
193 // Have the XHR here? 193 // Have the XHR here?
194 } 194 }
195 },
196
197 markEdited:{
198 value: function() {
199 this.dirtyFlag = true;
200 }
201 },
202
203 markUnedited:{
204 value: function() {
205 this.dirtyFlag = false;
206 }
195 } 207 }
196}); \ No newline at end of file 208}); \ No newline at end of file