aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorJose Antonio Marquez Russo2012-02-18 19:40:43 -0800
committerJose Antonio Marquez Russo2012-02-18 19:40:43 -0800
commitc466bcf61351b50f678100ca14096f71a0a71bd0 (patch)
tree4ac283e0e7724e5ede21c1a1e97d121033578c72 /js/document
parente23708721a71ca4c71365f5f8e8ac7d6113926db (diff)
parent8fdce771bfcf662cf1acc16d45e4361ffd06c53e (diff)
downloadninja-c466bcf61351b50f678100ca14096f71a0a71bd0.tar.gz
Merge pull request #10 from ananyasen/FileIO
FileIO branch pull request
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