From 94e67d575bab8ed546691be5ac27cb41c3978534 Mon Sep 17 00:00:00 2001 From: wiseleo Date: Sat, 21 Mar 2015 23:36:39 -0700 Subject: [PATCH] docs(orderBy): Replace operator = with === Fix documentation error on line 20 incorrectly mentioning an assignment operator in a comparison operation. Code on line 235 uses strict comparison operator. Closes #11392 --- 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 41ef1c95fa07..cfab3bf575ce 100644 --- a/src/ng/filter/orderBy.js +++ b/src/ng/filter/orderBy.js @@ -17,7 +17,7 @@ * Can be one of: * * - `function`: Getter function. The result of this function will be sorted using the - * `<`, `=`, `>` operator. + * `<`, `===`, `>` operator. * - `string`: An Angular expression. The result of this expression is used to compare elements * (for example `name` to sort by a property called `name` or `name.substr(0, 3)` to sort by * 3 first characters of a property called `name`). The result of a constant expression