diff options
author | Wilson Page <wilsonpage@me.com> | 2013-10-14 17:46:35 +0100 |
---|---|---|
committer | Wilson Page <wilsonpage@me.com> | 2013-10-14 17:46:35 +0100 |
commit | c00b6dd2c50abcfd01c1e2397ebdbb96afb0afee (patch) | |
tree | e74caf2207d092f82c126022ab46321b255a443a /test | |
parent | ff502b0661e8ad3a04cfdbda0e6ee53d7cdda01e (diff) | |
download | fastdom-c00b6dd2c50abcfd01c1e2397ebdbb96afb0afee.zip fastdom-c00b6dd2c50abcfd01c1e2397ebdbb96afb0afee.tar.gz fastdom-c00b6dd2c50abcfd01c1e2397ebdbb96afb0afee.tar.bz2 |
Make a differentiation between the read.write batch and the frame queue
Diffstat (limited to 'test')
-rw-r--r-- | test/test.clear.js | 2 | ||||
-rw-r--r-- | test/test.set.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test.clear.js b/test/test.clear.js index bea8031..f0f60b1 100644 --- a/test/test.clear.js +++ b/test/test.clear.js @@ -87,7 +87,7 @@ suite('clear', function(){ raf(function() { raf(function() { assert(!write.called); - assert(!fastdom.queue.hash[id]); + assert(!fastdom.batch.hash[id]); done(); }); }); diff --git a/test/test.set.js b/test/test.set.js index f5b2ae3..a41259a 100644 --- a/test/test.set.js +++ b/test/test.set.js @@ -146,10 +146,10 @@ suite('set', function() { fastdom.write(function(){}); // Check there are four jobs stored - assert.equal(objectLength(fastdom.queue.hash), 4); + assert.equal(objectLength(fastdom.batch.hash), 4); raf(function() { - assert.equal(objectLength(fastdom.queue.hash), 0); + assert.equal(objectLength(fastdom.batch.hash), 0); done(); }); }); |