summaryrefslogtreecommitdiffstats
path: root/test/test.defer.js
diff options
context:
space:
mode:
authorWilson Page <wilsonpage@me.com>2013-10-12 13:41:41 -0700
committerWilson Page <wilsonpage@me.com>2013-10-12 13:41:41 -0700
commitcf8f3ad94d43a25c57b1c4e5628c86c12e939383 (patch)
tree255b5b586fa4c7d9da54a043cb216b19d1d58226 /test/test.defer.js
parent65d2a275a30951910465b37a0ac26790d59d699b (diff)
parent0343f75622d85330925d35b6193cd728699b7477 (diff)
downloadfastdom-cf8f3ad94d43a25c57b1c4e5628c86c12e939383.zip
fastdom-cf8f3ad94d43a25c57b1c4e5628c86c12e939383.tar.gz
fastdom-cf8f3ad94d43a25c57b1c4e5628c86c12e939383.tar.bz2
Merge pull request #31 from Krinkle/cleanup
Minor clean up and setting up JSHint
Diffstat (limited to 'test/test.defer.js')
-rw-r--r--test/test.defer.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.defer.js b/test/test.defer.js
index c1ae179..3e56a94 100644
--- a/test/test.defer.js
+++ b/test/test.defer.js
@@ -1,7 +1,7 @@
suite('defer', function(){
- test("Should run the job after the specified number of frames", function(done) {
+ test('Should run the job after the specified number of frames', function(done) {
var fastdom = new FastDom();
var job = sinon.spy();
@@ -22,7 +22,7 @@ suite('defer', function(){
});
});
- test("Should call a deferred callback with the given context", function(done) {
+ test('Should call a deferred callback with the given context', function(done) {
var fastdom = new FastDom();
var cb = sinon.spy();
var ctx = { foo: 'bar' };
@@ -33,7 +33,7 @@ suite('defer', function(){
}, ctx);
});
- test("Should remove the reference to the job once run", function(done) {
+ test('Should remove the reference to the job once run', function(done) {
var fastdom = new FastDom();
var callback = sinon.spy();
var id = fastdom.defer(2, callback);