Skip to content

Commit c1f30b0

Browse files
committed
Tinker with doclets.io
1 parent 7815469 commit c1f30b0

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/js-partial-foreach.js

+20-20
Original file line numberDiff line numberDiff line change
@@ -65,28 +65,28 @@
6565
// Global config options
6666

6767
/**
68-
* @typedef {ConfigOptions} configOptions
68+
* @typedef {Object} config
69+
*
70+
* @static
71+
*
72+
* @property {boolean} [checkArguments=true] Determines whether "foreach" should check the number of arguments in the callback function.
73+
* If it is enabled and:
74+
* - when the callback function has one argument, "foreach" will
75+
* pass one argument to the callback function, which will contain
76+
* the actual **value** of the container object.
77+
*
78+
* - when the callback function has two arguments, "foreach" will
79+
* pass two arguments to the callback function, the first will be
80+
* the actual **key**, the second will be the
81+
* actual **value** of the container object.
82+
*
83+
* If it is disabled, always two arguments will be passed to the
84+
* callback function, the first will be the actual **key**,
85+
* the second will be the actual **value** of the container object.
86+
*
6987
* @memberOf js/partial/foreach
7088
*/
71-
configOptions = {
72-
/**
73-
* @type {boolean} [checkArguments=true]
74-
* @description Determines whether "foreach" should check the number of arguments in the callback function.
75-
*
76-
* If it is enabled and:
77-
* - when the callback function has one argument, "foreach" will
78-
* pass one argument to the callback function, which will contain
79-
* the actual **value** of the container object.
80-
*
81-
* - when the callback function has two arguments, "foreach" will
82-
* pass two arguments to the callback function, the first will be
83-
* the actual **key**, the second will be the
84-
* actual **value** of the container object.
85-
*
86-
* If it is disabled, always two arguments will be passed to the
87-
* callback function, the first will be the actual **key**,
88-
* the second will be the actual **value** of the container object.
89-
*/
89+
config = {
9090
checkArguments : true,
9191
checkOwnProperty : true,
9292
castArrayIndex : true

0 commit comments

Comments
 (0)