Fixed some minor issues and removed some spurious

comments
This commit is contained in:
Eddy Bruel 2010-12-02 16:23:32 +01:00
commit f222d0e649
5 changed files with 9 additions and 8 deletions

View file

@ -80,7 +80,7 @@ return {
"selectlinestart": "Shift-Home", "selectlinestart": "Shift-Home",
"selectlineend": "Shift-End", "selectlineend": "Shift-End",
"del": "Delete", "del": "Delete",
"backspace": "Backspace", "backspace": "Ctrl-Backspace|Command-Backspace|Option-Backspace|Backspace",
"outdent": "Shift-Tab", "outdent": "Shift-Tab",
"indent": "Tab" "indent": "Tab"
}; };

View file

@ -56,8 +56,9 @@ var RenderLoop = function(onRender) {
var _self = this; var _self = this;
this.setTimeoutZero(function() { this.setTimeoutZero(function() {
_self.pending = false; _self.pending = false;
_self.onRender(_self.changes); var changes = _self.changes;
_self.changes = 0; _self.changes = 0;
_self.onRender(changes);
}) })
} }
}; };