fix unit tests in firefox
This commit is contained in:
parent
ca6749cd3b
commit
013512fad4
1 changed files with 3 additions and 1 deletions
|
|
@ -11,7 +11,9 @@ var async = require("asyncjs/async")
|
||||||
async.plugin({
|
async.plugin({
|
||||||
delay: function(delay) {
|
delay: function(delay) {
|
||||||
return this.each(function(item, next) {
|
return this.each(function(item, next) {
|
||||||
setTimeout(next, delay)
|
setTimeout(function() {
|
||||||
|
next();
|
||||||
|
}, delay)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue