From cc2b88a5be96c100167fabf987df3eeed21056d3 Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Sun, 20 Apr 2014 19:51:20 -0500 Subject: [PATCH] Fixing expression parameters This seems to be a typo, unless I'm missing something. See http://stackoverflow.com/questions/23093953/is-the-angular-orderby-documentation-wrong-or-am-i-confused --- src/ng/filter/orderBy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/filter/orderBy.js b/src/ng/filter/orderBy.js index 27891835d17d..1220c18d9159 100644 --- a/src/ng/filter/orderBy.js +++ b/src/ng/filter/orderBy.js @@ -9,7 +9,7 @@ * Orders a specified `array` by the `expression` predicate. * * @param {Array} array The array to sort. - * @param {function(*)|string|Array.<(function(*)|string)>} expression A predicate to be + * @param {function()|string|Object} expression A predicate to be * used by the comparator to determine the order of elements. * * Can be one of: