diff options
| author | Tobias Bosch | 2013-11-07 14:14:57 -0800 |
|---|---|---|
| committer | Tobias Bosch | 2013-11-07 14:14:57 -0800 |
| commit | 36621402015485613888158dc7ba29f4ff92a7e2 (patch) | |
| tree | de6bcfa749c8c5db20bc8e46fc9aa666fdafe40d /src | |
| parent | ed8640b96463df8a8f9e4503095bd89916a120c5 (diff) | |
| download | angular.js-36621402015485613888158dc7ba29f4ff92a7e2.tar.bz2 | |
docs(guide/filter): Refactor filter guide docs
This refactors the filter guide docs into a single file.
Also removes out of date references to the fact that Angular used to enhance Arrays while evaluating expressions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Angular.js | 3 | ||||
| -rw-r--r-- | src/ng/filter.js | 3 | ||||
| -rw-r--r-- | src/ng/filter/filter.js | 3 | ||||
| -rw-r--r-- | src/ng/filter/limitTo.js | 3 | ||||
| -rw-r--r-- | src/ng/filter/orderBy.js | 3 |
5 files changed, 1 insertions, 14 deletions
diff --git a/src/Angular.js b/src/Angular.js index df236e05..55a9bd8d 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -677,9 +677,6 @@ function isLeafNode (node) { * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned. * * If `source` is identical to 'destination' an exception will be thrown. * - * Note: this function is used to augment the Object type in Angular expressions. See - * {@link ng.$filter} for more information about Angular arrays. - * * @param {*} source The source that will be used to make a copy. * Can be any type, including primitives, `null`, and `undefined`. * @param {(Object|Array)=} destination Destination into which the source is copied. If diff --git a/src/ng/filter.js b/src/ng/filter.js index 11607abc..15180edb 100644 --- a/src/ng/filter.js +++ b/src/ng/filter.js @@ -47,8 +47,7 @@ * * * For more information about how angular filters work, and how to create your own filters, see - * {@link guide/dev_guide.templates.filters Understanding Angular Filters} in the angular Developer - * Guide. + * {@link guide/filter Filters} in the Angular Developer Guide. */ /** * @ngdoc method diff --git a/src/ng/filter/filter.js b/src/ng/filter/filter.js index 24c0e444..bad6dea3 100644 --- a/src/ng/filter/filter.js +++ b/src/ng/filter/filter.js @@ -8,9 +8,6 @@ * @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 ng.$filter} for more information about Angular arrays. - * * @param {Array} array The source array. * @param {string|Object|function()} expression The predicate to be used for selecting items from * `array`. diff --git a/src/ng/filter/limitTo.js b/src/ng/filter/limitTo.js index 3c88e470..07ce675d 100644 --- a/src/ng/filter/limitTo.js +++ b/src/ng/filter/limitTo.js @@ -10,9 +10,6 @@ * are taken from either the beginning or the end of the source array or string, as specified by * the value and sign (positive or negative) of `limit`. * - * Note: This function is used to augment the `Array` type in Angular expressions. See - * {@link ng.$filter} for more information about Angular arrays. - * * @param {Array|string} input Source array or string to be limited. * @param {string|number} limit The length of the returned array or string. If the `limit` number * is positive, `limit` number of items from the beginning of the source array/string are copied. diff --git a/src/ng/filter/orderBy.js b/src/ng/filter/orderBy.js index 7ef41c8b..961faa36 100644 --- a/src/ng/filter/orderBy.js +++ b/src/ng/filter/orderBy.js @@ -8,9 +8,6 @@ * @description * Orders a specified `array` by the `expression` predicate. * - * Note: this function is used to augment the `Array` type in Angular expressions. See - * {@link ng.$filter} for more information about Angular arrays. - * * @param {Array} array The array to sort. * @param {function(*)|string|Array.<(function(*)|string)>} expression A predicate to be * used by the comparator to determine the order of elements. |
