diff options
author | Alexander Early <alex@npmjs.com> | 2017-11-06 18:28:35 -0800 |
---|---|---|
committer | Alexander Early <alex@npmjs.com> | 2017-11-06 18:28:35 -0800 |
commit | 98947ff995cd79edac7d0df807dc4372a6dbcc17 (patch) | |
tree | 24c53b1cee7f6b4782b876bdc4371ff2a713f661 /intro.md | |
parent | 9ac8612827d1b1b9281367ec1610f428e39c303d (diff) | |
download | async-98947ff995cd79edac7d0df807dc4372a6dbcc17.tar.gz |
capitalize Async
Diffstat (limited to 'intro.md')
-rw-r--r-- | intro.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -141,8 +141,8 @@ We can only detect native `async` functions, not transpiled versions (e.g. with ### Binding a context to an iteratee -This section is really about `bind`, not about `async`. If you are wondering how to -make `async` execute your iteratees in a given context, or are confused as to why +This section is really about `bind`, not about Async. If you are wondering how to +make Async execute your iteratees in a given context, or are confused as to why a method of another library isn't working as an iteratee, study this example: ```js @@ -167,7 +167,7 @@ async.map([1, 2, 3], AsyncSquaringLibrary.square, function(err, result) { async.map([1, 2, 3], AsyncSquaringLibrary.square.bind(AsyncSquaringLibrary), function(err, result) { // result is [1, 4, 9] // With the help of bind we can attach a context to the iteratee before - // passing it to async. Now the square function will be executed in its + // passing it to Async. Now the square function will be executed in its // 'home' AsyncSquaringLibrary context and the value of `this.squareExponent` // will be as expected. }); @@ -221,12 +221,12 @@ Usage: </script> ``` -The portable versions of async, including `async.js` and `async.min.js`, are +The portable versions of Async, including `async.js` and `async.min.js`, are included in the `/dist` folder. Async can also be found on the [jsDelivr CDN](http://www.jsdelivr.com/projects/async). ### ES Modules -We also provide async as a collection of ES2015 modules, in an alternative `async-es` package on npm. +We also provide Async as a collection of ES2015 modules, in an alternative `async-es` package on npm. ```bash $ npm install --save async-es |