aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorAnanya Sen2012-02-17 12:54:07 -0800
committerAnanya Sen2012-02-17 12:54:07 -0800
commit96178309ddcdb54c0c451b69ea6fb8cdf76fcf62 (patch)
tree44fbaa798250596e123616d330bcf2fb953cf71d /js/stage
parenta7e3ef9f80d5e29515c9f8dd5374c89b9d2496de (diff)
downloadninja-96178309ddcdb54c0c451b69ea6fb8cdf76fcf62.tar.gz
renamed methods to use better words
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index 7ee41fb4..0b74105c 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -98,9 +98,9 @@ exports.StageView = Montage.create(Component, {
98 onChange: function(){ 98 onChange: function(){
99 var historySize = doc.editor.historySize(); 99 var historySize = doc.editor.historySize();
100 if(historySize.undo>0){ 100 if(historySize.undo>0){
101 doc.markDocumentEditted(); 101 doc.markEdited();
102 }else if(historySize.undo===0 && historySize.redo>0){ 102 }else if(historySize.undo===0 && historySize.redo>0){
103 doc.markDocumentUneditted(); 103 doc.markUnedited();
104 } 104 }
105 }, 105 },
106 onCursorActivity: function() { 106 onCursorActivity: function() {