Conflicts:
	lib/ace/scrollbar.js
	lib/ace/virtual_renderer.js
This commit is contained in:
Joe Walker 2010-12-03 16:31:37 +00:00
commit 1e01007990
6 changed files with 10 additions and 9 deletions

View file

@ -48,16 +48,17 @@ var RenderLoop = function(onRender) {
(function() {
this.schedule = function(change) {
// this.onRender(change);
// return;
//this.onRender(change);
//return;
this.changes = this.changes | change;
if (!this.pending) {
this.pending = true;
var _self = this;
this.setTimeoutZero(function() {
_self.pending = false;
_self.onRender(_self.changes);
var changes = _self.changes;
_self.changes = 0;
_self.onRender(changes);
})
}
};