Skip to content

Commit 5320faf

Browse files
committed
Tinker with doclets.io
1 parent e6f9d60 commit 5320faf

File tree

1 file changed

+37
-25
lines changed

1 file changed

+37
-25
lines changed

src/js-partial-foreach.js

+37-25
Original file line numberDiff line numberDiff line change
@@ -70,43 +70,55 @@
7070
* @static
7171
* @memberOf js/partial/foreach
7272
*
73-
* @property {boolean} [checkArguments=true] -
74-
* Determines whether "foreach" should check the number of arguments in the callback function.
75-
* If it is enabled and:
76-
* - when the callback function has one argument, "foreach" will
77-
* pass one argument to the callback function, which will contain
78-
* the actual **value** of the container object.
73+
* @property {boolean} [checkArguments=true]
74+
* Determines whether "foreach" should check the number of arguments in the callback function.
75+
* If it is enabled and:
76+
* - when the callback function has one argument, "foreach" will
77+
* pass one argument to the callback function, which will contain
78+
* the actual **value** of the container object.
7979
*
80-
* - when the callback function has two arguments, "foreach" will
81-
* pass two arguments to the callback function, the first will be
82-
* the actual **key**, the second will be the
83-
* actual **value** of the container object.
80+
* - when the callback function has two arguments, "foreach" will
81+
* pass two arguments to the callback function, the first will be
82+
* the actual **key**, the second will be the
83+
* actual **value** of the container object.
8484
*
85-
* If it is disabled, always two arguments will be passed to the
86-
* callback function, the first will be the actual **key**,
87-
* the second will be the actual **value** of the container object.
85+
* If it is disabled, always two arguments will be passed to the
86+
* callback function, the first will be the actual **key**,
87+
* the second will be the actual **value** of the container object.
8888
*
89-
* @property {boolean} [checkOwnProperty=true] -
90-
* Determines whether "foreach" should check whether the container has
91-
* the current key as an own property via containerObject.hasOwnProperty(key).
89+
* @property {boolean} [checkOwnProperty=true]
90+
* Determines whether "foreach" should check whether the container has
91+
* the current key as an own property via containerObject.hasOwnProperty(key).
9292
*
93-
* If it is enabled, only those key => value pairs will be passed to the callback function,
94-
* which are own properties of the container object.
93+
* If it is enabled, only those key => value pairs will be passed to the callback function,
94+
* which are own properties of the container object.
9595
*
96-
* If it is disabled, every key => value of the container object will be passed to the callback function.
96+
* If it is disabled, every key => value of the container object will be passed to the callback function.
9797
*
98-
* @property {boolean} [castArrayIndex=true] -
99-
* Determines whether "foreach" should cast the indices of the array-like container object
100-
* to integers (in {number}).
98+
* @property {boolean} [castArrayIndex=true]
99+
* Determines whether "foreach" should cast the indices of the array-like container object
100+
* to integers (in {number}).
101101
*
102-
* If it is enabled, when and **only when** two arguments (key => value) will be passed to
103-
* the callback function, the first argument (key) will be cast to an integer (in {number}).
102+
* If it is enabled, when and **only when** two arguments (key => value) will be passed to
103+
* the callback function, the first argument (key) will be cast to an integer (in {number}).
104104
*
105-
* If it is disabled, no change and/or cast will occur on the first (key) argument.
105+
* If it is disabled, no change and/or cast will occur on the first (key) argument.
106106
*/
107107
config = {
108+
109+
/**
110+
* @see {@link config.checkArguments}
111+
*/
108112
checkArguments : true,
113+
114+
/**
115+
* @see {@link config.checkOwnProperty}
116+
*/
109117
checkOwnProperty : true,
118+
119+
/**
120+
* @see {@link config.castArrayIndex}
121+
*/
110122
castArrayIndex : true
111123
},
112124

0 commit comments

Comments
 (0)