Skip to content

Commit

Permalink
Initial documentation (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac committed Jun 19, 2016
1 parent 1706048 commit e0a9625
Show file tree
Hide file tree
Showing 225 changed files with 158,399 additions and 1,998 deletions.
1,994 changes: 2 additions & 1,992 deletions README.md

Large diffs are not rendered by default.

618 changes: 618 additions & 0 deletions docs/ast/source/apply.js.json

Large diffs are not rendered by default.

319 changes: 319 additions & 0 deletions docs/ast/source/applyEach.js.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,319 @@
{
"type": "Program",
"body": [
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"local": {
"type": "Identifier",
"name": "applyEach",
"range": [
7,
16
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 16
}
}
},
"range": [
7,
16
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 16
}
}
}
],
"source": {
"type": "Literal",
"value": "./internal/applyEach",
"raw": "'./internal/applyEach'",
"range": [
22,
44
],
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 44
}
}
},
"range": [
0,
45
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
}
},
{
"type": "ImportDeclaration",
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"local": {
"type": "Identifier",
"name": "map",
"range": [
53,
56
],
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 10
}
}
},
"range": [
53,
56
],
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 10
}
}
}
],
"source": {
"type": "Literal",
"value": "./map",
"raw": "'./map'",
"range": [
62,
69
],
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 23
}
}
},
"range": [
46,
70
],
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 24
}
},
"trailingComments": [
{
"type": "Block",
"value": "*\n * Applies the provided arguments to each function in the array, calling\n * `callback` after all functions have completed. If you only provide the first\n * argument, then it will return a function which lets you pass in the\n * arguments as if it were a single function call.\n *\n * @name applyEach\n * @static\n * @memberOf async\n * @category Control Flow\n * @param {Array|Object} fns - A collection of asynchronous functions to all\n * call with the same arguments\n * @param {...*} [args] - any number of separate arguments to pass to the\n * function.\n * @param {Function} [callback] - the final argument should be the callback,\n * called when all functions have completed processing.\n * @returns {Function} - If only the first argument is provided, it will return\n * a function which lets you pass in the arguments as if it were a single\n * function call.\n * @example\n *\n * async.applyEach([enableSearch, updateSchema], 'bucket', callback);\n *\n * // partial application example:\n * async.each(\n * buckets,\n * async.applyEach([enableSearch, updateSchema]),\n * callback\n * );\n ",
"range": [
72,
1163
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 33,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"declaration": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "applyEach",
"range": [
1179,
1188
],
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 24
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "map",
"range": [
1189,
1192
],
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 28
}
}
}
],
"range": [
1179,
1193
],
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 29
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\n * Applies the provided arguments to each function in the array, calling\n * `callback` after all functions have completed. If you only provide the first\n * argument, then it will return a function which lets you pass in the\n * arguments as if it were a single function call.\n *\n * @name applyEach\n * @static\n * @memberOf async\n * @category Control Flow\n * @param {Array|Object} fns - A collection of asynchronous functions to all\n * call with the same arguments\n * @param {...*} [args] - any number of separate arguments to pass to the\n * function.\n * @param {Function} [callback] - the final argument should be the callback,\n * called when all functions have completed processing.\n * @returns {Function} - If only the first argument is provided, it will return\n * a function which lets you pass in the arguments as if it were a single\n * function call.\n * @example\n *\n * async.applyEach([enableSearch, updateSchema], 'bucket', callback);\n *\n * // partial application example:\n * async.each(\n * buckets,\n * async.applyEach([enableSearch, updateSchema]),\n * callback\n * );\n ",
"range": [
72,
1163
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 33,
"column": 3
}
}
}
],
"trailingComments": []
},
"range": [
1164,
1194
],
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 34,
"column": 30
}
},
"leadingComments": [
{
"type": "Block",
"value": "*\n * Applies the provided arguments to each function in the array, calling\n * `callback` after all functions have completed. If you only provide the first\n * argument, then it will return a function which lets you pass in the\n * arguments as if it were a single function call.\n *\n * @name applyEach\n * @static\n * @memberOf async\n * @category Control Flow\n * @param {Array|Object} fns - A collection of asynchronous functions to all\n * call with the same arguments\n * @param {...*} [args] - any number of separate arguments to pass to the\n * function.\n * @param {Function} [callback] - the final argument should be the callback,\n * called when all functions have completed processing.\n * @returns {Function} - If only the first argument is provided, it will return\n * a function which lets you pass in the arguments as if it were a single\n * function call.\n * @example\n *\n * async.applyEach([enableSearch, updateSchema], 'bucket', callback);\n *\n * // partial application example:\n * async.each(\n * buckets,\n * async.applyEach([enableSearch, updateSchema]),\n * callback\n * );\n ",
"range": [
72,
1163
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 33,
"column": 3
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
1194
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 34,
"column": 30
}
},
"comments": [
{
"type": "Block",
"value": "*\n * Applies the provided arguments to each function in the array, calling\n * `callback` after all functions have completed. If you only provide the first\n * argument, then it will return a function which lets you pass in the\n * arguments as if it were a single function call.\n *\n * @name applyEach\n * @static\n * @memberOf async\n * @category Control Flow\n * @param {Array|Object} fns - A collection of asynchronous functions to all\n * call with the same arguments\n * @param {...*} [args] - any number of separate arguments to pass to the\n * function.\n * @param {Function} [callback] - the final argument should be the callback,\n * called when all functions have completed processing.\n * @returns {Function} - If only the first argument is provided, it will return\n * a function which lets you pass in the arguments as if it were a single\n * function call.\n * @example\n *\n * async.applyEach([enableSearch, updateSchema], 'bucket', callback);\n *\n * // partial application example:\n * async.each(\n * buckets,\n * async.applyEach([enableSearch, updateSchema]),\n * callback\n * );\n ",
"range": [
72,
1163
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 33,
"column": 3
}
}
}
]
}

0 comments on commit e0a9625

Please sign in to comment.