diff options
| author | Igor Minar | 2010-11-24 16:32:03 -0800 | 
|---|---|---|
| committer | Igor Minar | 2010-11-24 16:32:03 -0800 | 
| commit | 97b1371199e4c514a23edad4546536616e0f9004 (patch) | |
| tree | c537e937e27912467fb678f3a79f777466b4aaee /src/apis.js | |
| parent | 95d1768c7742e383bc8e9dda2279efd74b0b4131 (diff) | |
| download | angular.js-97b1371199e4c514a23edad4546536616e0f9004.tar.bz2 | |
adding Note section to angular.Array.* where it was missing
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/apis.js b/src/apis.js index 417670b5..250aec84 100644 --- a/src/apis.js +++ b/src/apis.js @@ -88,6 +88,9 @@ var angularArray = {     * This function calculates the sum of all numbers in `array`. If the `expressions` is supplied,     * it is evaluated once for each element in `array` and then the sum of these values is returned.     * +   * Note: this function is used to augment the Array type in angular expressions. See +   * {@link angular.Array} for more info. +   *     * @param {Array} array The source array.     * @param {(string|function())=} expression Angular expression or a function to be evaluated for each     *     element in `array`. The array element becomes the `this` during the evaluation. @@ -208,6 +211,9 @@ var angularArray = {     * @description     * Selects a subset of items from `array` and returns it as a new array.     * +   * Note: this function is used to augment the Array type in angular expressions. See +   * {@link angular.Array} for more info. +   *     * @param {Array} array The source array.     * @param {string|Object|function()} expression The predicate to be used for selecting items from     *   `array`. @@ -615,6 +621,9 @@ var angularArray = {     * Creates a new array containing only the first, or last `limit` number of elements of the     * source `array`.     * +   * Note: this function is used to augment the Array type in angular expressions. See +   * {@link angular.Array} for more info. +   *     * @param {Array} array Source array to be limited.     * @param {string|Number} limit The length of the returned array. If the number is positive, the     *     first `limit` items from the source array will be copied, if the number is negative, the | 
