Skip to content

Commit 5754b41

Browse files
committed
README improvements
1 parent 8730f03 commit 5754b41

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Watch a free video overview presented by EmberMap:
4040
- [Upgrade Guide](#upgrade-guide)
4141
- [Available helpers](#available-helpers)
4242
- [Action helpers](#action-helpers)
43+
- [`call`](#call)
4344
- [`pipe`](#pipe)
4445
- [`compute`](#compute)
4546
- [`toggle`](#toggle)
@@ -67,7 +68,6 @@ Watch a free video overview presented by EmberMap:
6768
- [`compact`](#compact)
6869
- [`contains`](#contains)
6970
- [`append`](#append)
70-
- [`call`](#call)
7171
- [`chunk`](#chunk)
7272
- [`without`](#without)
7373
- [`shuffle`](#shuffle)
@@ -168,6 +168,20 @@ The `pipe` helper can also be used directly as a closure action (using `pipe-act
168168
169169
**[⬆️️ back to top](#table-of-contents)**
170170
171+
#### `call`
172+
Calls the given function with arguments
173+
174+
```hbs
175+
{{#each (call (fn this.callMeWith @daysInMonth) as |week|}}
176+
{{#each week as |day|}}
177+
{{day}}
178+
{{/each}}
179+
{{/each}}
180+
```
181+
182+
**[⬆️ back to top](#table-of-contents)**
183+
184+
171185
#### `compute`
172186
Calls an action as a template helper.
173187
@@ -551,19 +565,6 @@ Appends the given arrays and/or values into a single flat array.
551565

552566
**[⬆️ back to top](#table-of-contents)**
553567

554-
#### `call`
555-
Calls the given function with arguments
556-
557-
```hbs
558-
{{#each (call (fn this.callMeWith @daysInMonth) as |week|}}
559-
{{#each week as |day|}}
560-
{{day}}
561-
{{/each}}
562-
{{/each}}
563-
```
564-
565-
**[⬆️ back to top](#table-of-contents)**
566-
567568
#### `chunk`
568569
Returns the given array split into sub-arrays the length of the given value.
569570

0 commit comments

Comments
 (0)