From 97b1371199e4c514a23edad4546536616e0f9004 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 24 Nov 2010 16:32:03 -0800 Subject: adding Note section to angular.Array.* where it was missing --- src/apis.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/apis.js') 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 -- cgit v1.2.3