diff --git a/ospec/ospec.js b/ospec/ospec.js index 91bbc06c..f153e841 100644 --- a/ospec/ospec.js +++ b/ospec/ospec.js @@ -219,7 +219,7 @@ module.exports = new function init() { if(hasProcess) { nextTickish = process.nextTick } else { - nextTickish = function fakeFastNextTick(fn) { + nextTickish = function fakeFastNextTick(next) { if (stack++ < 5000) next() else setTimeout(next, stack = 0) }