Skip to content

Commit c34759c

Browse files
naomiblackjbdeboer
authored andcommitted
docs(orderBy): fix a small typo
1 parent a6a2ac4 commit c34759c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/formatter/order_by.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ typedef dynamic _Mapper(dynamic e);
77
*
88
* # Usage
99
*
10-
* expression | orderBy: predicate[:true]
10+
* expression | orderBy:predicate[:true]
1111
*
1212
* The input to orderBy must be an [Iterable] object. The predicate may be specified as:
1313
*
@@ -23,7 +23,7 @@ typedef dynamic _Mapper(dynamic e);
2323
*
2424
* A string expression in the predicate can be prefixed to indicate sort order:
2525
*
26-
* - `+`: sort the elements in asending order. This is the default.
26+
* - `+`: sort the elements in ascending order. This is the default.
2727
* - `-`: sort the elements in descending order.
2828
*
2929
* Alternately, by appending `true`, you can set "descending order" to true, which has the same effect as the `-`
@@ -107,7 +107,7 @@ typedef dynamic _Mapper(dynamic e);
107107
* <li ng-repeat="author in authors | orderBy:getAuthorId">
108108
*
109109
* In the previous snippet, `getAuthorId` would evaluate to a callable when
110-
* evaluated on the [Scope] of the `<li>` element. That callable is called once
110+
* evaluated on the [Scope](#angular-core.Scope) of the `<li>` element. That callable is called once
111111
* for each element in the list (i.e. each author object) and the sort order is
112112
* determined by the sort order of the value mapped by the callable.
113113
*

0 commit comments

Comments
 (0)