Skip to content

Commit

Permalink
Minor rewording.
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Jul 12, 2019
1 parent 6c438a5 commit c8b4ef3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Fixed Issues:

API Changes:

* [#3154](https://github.com/ckeditor/ckeditor-dev/issues/3154): Added the [`CKEDITOR.tools.array.some`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_array.html#method-some) function.
* [#3154](https://github.com/ckeditor/ckeditor-dev/issues/3154): Added the [`CKEDITOR.tools.array.some()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_array.html#method-some) method.

## CKEditor 4.12.1

Expand Down
8 changes: 4 additions & 4 deletions core/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,7 @@
* @param {Array} array
* @param {Function} fn A function that gets called with each `array` item.
* @param {Mixed} fn.value The currently iterated array value.
* @param {Number} fn.index The index of the currently iterated value in an array.
* @param {Number} fn.index The index of the currently iterated array value.
* @param {Array} fn.array The original array passed as the `array` variable.
* @param {Mixed} [thisArg=undefined] A context object for `fn`.
* @returns {Boolean} Information whether all elements pass the test.
Expand All @@ -2074,7 +2074,7 @@
},

/**
* Tests whether any element in an array pass the test implemented by the provided function.
* Tests whether any element in an array passes the test implemented by the provided function.
* Returns `false` if the provided array is empty.
*
* ```javascript
Expand All @@ -2088,10 +2088,10 @@
* @param {Array} array
* @param {Function} fn A function that gets called with each `array` item.
* @param {Mixed} fn.value The currently iterated array value.
* @param {Number} fn.index The index of the currently iterated value in an array.
* @param {Number} fn.index The index of the currently iterated array value.
* @param {Array} fn.array The original array passed as the `array` variable.
* @param {Mixed} [thisArg=undefined] A context object for `fn`.
* @returns {Boolean} Information whether any element pass the test.
* @returns {Boolean} Information whether any element passes the test.
* @member CKEDITOR.tools.array
* @since 4.13.0
*/
Expand Down

0 comments on commit c8b4ef3

Please sign in to comment.