[Pkg-javascript-commits] [node-async] 46/480: add horizontal rules between function descriptions in README
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit ed82759bc5d7a7e163b6ab43e5ebe6137e15be22
Author: Caolan McMahon <caolan at caolanmcmahon.com>
Date: Fri Oct 15 18:21:20 2010 +0100
add horizontal rules between function descriptions in README
---
README.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/README.md b/README.md
index e021fcd..2f4107e 100644
--- a/README.md
+++ b/README.md
@@ -124,6 +124,8 @@ __Example__
// if any of the saves produced an error, err would equal that error
});
+---------------------------------------
+
<a name="forEachSeries" />
### forEachSeries(arr, iterator, callback)
@@ -132,6 +134,8 @@ series. The next iterator is only called once the current one has completed
processing. This means the iterator functions will complete in order.
+---------------------------------------
+
<a name="map" />
### map(arr, iterator, callback)
@@ -162,6 +166,8 @@ __Example__
// results is now an array of stats for each file
});
+---------------------------------------
+
<a name="mapSeries" />
### mapSeries(arr, iterator, callback)
@@ -170,6 +176,8 @@ series. The next iterator is only called once the current one has completed
processing. The results array will be in the same order as the original.
+---------------------------------------
+
<a name="filter" />
### filter(arr, iterator, callback)
@@ -196,6 +204,8 @@ __Example__
// results now equals an array of the existing files
});
+---------------------------------------
+
<a name="filterSeries" />
### filterSeries(arr, iterator, callback)
@@ -205,11 +215,15 @@ The same as filter only the iterator is applied to each item in the array in
series. The next iterator is only called once the current one has completed
processing. The results array will be in the same order as the original.
+---------------------------------------
+
<a name="reject" />
### reject(arr, iterator, callback)
The opposite of filter. Removes values that pass an async truth test.
+---------------------------------------
+
<a name="rejectSeries" />
### rejectSeries(arr, iterator, callback)
@@ -217,6 +231,8 @@ The same as filter, only the iterator is applied to each item in the array
in series.
+---------------------------------------
+
<a name="reduce" />
### reduce(arr, memo, iterator, callback)
@@ -254,6 +270,8 @@ __Example__
// result is now equal to the last value of memo, which is 6
});
+---------------------------------------
+
<a name="reduceRight" />
### reduceRight(arr, memo, iterator, callback)
@@ -262,6 +280,8 @@ __Alias:__ foldr
Same as reduce, only operates on the items in the array in reverse order.
+---------------------------------------
+
<a name="detect" />
### detect(arr, iterator, callback)
@@ -288,6 +308,8 @@ __Example__
// result now equals the first file in the list that exists
});
+---------------------------------------
+
<a name="detectSeries" />
### detectSeries(arr, iterator, callback)
@@ -296,6 +318,8 @@ in series. This means the result is always the first in the original array (in
terms of array order) that passes the truth test.
+---------------------------------------
+
<a name="sortBy" />
### sortBy(arr, iterator, callback)
@@ -323,6 +347,8 @@ __Example__
});
+---------------------------------------
+
<a name="some" />
### some(arr, iterator, callback)
@@ -349,6 +375,8 @@ __Example__
// if result is true then at least one of the files exists
});
+---------------------------------------
+
<a name="every" />
### every(arr, iterator, callback)
@@ -374,6 +402,8 @@ __Example__
// if result is true then every file exists
});
+---------------------------------------
+
<a name="concat" />
### concat(arr, iterator, callback)
@@ -398,11 +428,15 @@ __Example__
// files is now a list of filenames that exist in the 3 directories
});
+---------------------------------------
+
<a name="concatSeries" />
### concatSeries(arr, iterator, callback)
Same as async.concat, but executes in series instead of parallel.
+---------------------------------------
+
<a name="whilst" />
### whilst(test, fn, callback)
@@ -433,6 +467,8 @@ __Example__
}
});
+---------------------------------------
+
<a name="until" />
### until(test, fn, callback)
@@ -478,6 +514,8 @@ __Example__
});
+---------------------------------------
+
<a name="parallel" />
### parallel(tasks, [callback])
@@ -515,6 +553,8 @@ __Example__
});
+---------------------------------------
+
<a name="waterfall" />
### waterfall(tasks, [callback])
@@ -546,6 +586,8 @@ __Example__
]);
+---------------------------------------
+
<a name="auto" />
### auto(tasks, [callback])
@@ -612,6 +654,8 @@ For a complicated series of async tasks using the auto function makes adding
new tasks much easier and makes the code more readable.
+---------------------------------------
+
<a name="iterator" />
### iterator(tasks)
@@ -646,6 +690,8 @@ __Example__
'three'
+---------------------------------------
+
<a name="apply" />
### apply(function, arguments..)
@@ -690,6 +736,8 @@ continuation:
two
three
+---------------------------------------
+
<a name="nextTick" />
### nextTick(callback)
@@ -740,6 +788,8 @@ __Example__
'hello world'
+---------------------------------------
+
<a name="dir" />
### dir(function, arguments)
@@ -766,6 +816,8 @@ __Example__
{hello: 'world'}
+---------------------------------------
+
<a name="noConflict" />
### noConflict()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list