Comparing version 0.2.9 to 0.2.10
@@ -94,3 +94,6 @@ /*global setImmediate: false, setTimeout: false, console: false */ | ||
if (typeof setImmediate !== 'undefined') { | ||
async.setImmediate = setImmediate; | ||
async.setImmediate = function (fn) { | ||
// not a direct alias for IE10 compatibility | ||
setImmediate(fn); | ||
}; | ||
} | ||
@@ -97,0 +100,0 @@ else { |
@@ -6,3 +6,3 @@ { | ||
"author": "Caolan McMahon", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"repository" : { | ||
@@ -9,0 +9,0 @@ "type" : "git", |
@@ -107,7 +107,15 @@ # Async.js | ||
* [each](#each) | ||
* [eachSeries](#eachSeries) | ||
* [eachLimit](#eachLimit) | ||
* [map](#map) | ||
* [mapSeries](#mapSeries) | ||
* [mapLimit](#mapLimit) | ||
* [filter](#filter) | ||
* [filterSeries](#filterSeries) | ||
* [reject](#reject) | ||
* [rejectSeries](#rejectSeries) | ||
* [reduce](#reduce) | ||
* [reduceRight](#reduceRight) | ||
* [detect](#detect) | ||
* [detectSeries](#detectSeries) | ||
* [sortBy](#sortBy) | ||
@@ -117,2 +125,3 @@ * [some](#some) | ||
* [concat](#concat) | ||
* [concatSeries](#concatSeries) | ||
@@ -123,2 +132,3 @@ ### Control Flow | ||
* [parallel](#parallel) | ||
* [parallelLimit](#parallellimittasks-limit-callback) | ||
* [whilst](#whilst) | ||
@@ -132,2 +142,3 @@ * [doWhilst](#doWhilst) | ||
* [applyEach](#applyEach) | ||
* [applyEachSeries](#applyEachSeries) | ||
* [queue](#queue) | ||
@@ -302,3 +313,3 @@ * [cargo](#cargo) | ||
```js | ||
async.map(['file1','file2','file3'], 1, fs.stat, function(err, results){ | ||
async.mapLimit(['file1','file2','file3'], 1, fs.stat, function(err, results){ | ||
// results is now an array of stats for each file | ||
@@ -1070,3 +1081,3 @@ }); | ||
async.auto({ | ||
readData: async.apply(fs.readFile, 'data.txt', 'utf-8'); | ||
readData: async.apply(fs.readFile, 'data.txt', 'utf-8') | ||
}, callback); | ||
@@ -1073,0 +1084,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74685
899
1426