summaryrefslogtreecommitdiffstats
path: root/lib/dom-batch.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dom-batch.js')
-rw-r--r--lib/dom-batch.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/dom-batch.js b/lib/dom-batch.js
index e4423c3..4671b80 100644
--- a/lib/dom-batch.js
+++ b/lib/dom-batch.js
@@ -31,13 +31,8 @@
function DomBatch() {
this.reads = [];
this.writes = [];
-
this.mode = null;
this.pending = false;
-
- // Bind context
- this.run = this.run.bind(this);
- this.frame = this.frame.bind(this);
}
/**
@@ -73,6 +68,7 @@
* @api private
*/
DomBatch.prototype.request = function(type) {
+ var self = this;
// If we are currently writing, we don't
// need to scedule a new frame as this