async-args
Advanced tools
Comparing version
22
index.js
var jp = require('jsonpointer') | ||
function nextApplyFactory(next, args){ | ||
return function nextApply(){ | ||
next.apply(next, args) | ||
} | ||
} | ||
function storeMetaFactory(lookup) { | ||
@@ -18,3 +24,3 @@ return function storeFactory() { | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -37,3 +43,3 @@ } | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -58,3 +64,3 @@ } | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -79,3 +85,3 @@ } | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -93,3 +99,3 @@ } | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -107,3 +113,3 @@ } | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -121,3 +127,3 @@ } | ||
args.unshift(null) | ||
next.apply(null, args) | ||
process.nextTick(nextApplyFactory(next, args)) | ||
} | ||
@@ -150,3 +156,3 @@ } | ||
newArgs.unshift(null) | ||
next.apply(null, newArgs) | ||
process.nextTick(nextApplyFactory(next, newArgs)) | ||
} | ||
@@ -153,0 +159,0 @@ } |
{ | ||
"name": "async-args", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A utility for use in conjunction with async.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12629
2.4%159
3.25%