Skip to content

Commit

Permalink
update confusing usage example in readme
Browse files Browse the repository at this point in the history
Example assumed that component yields a hash before but a component after
changing syntax. Since angle bracket invocation does not affect yielded
value it should be the same before and after.

[ci skip]
  • Loading branch information
jelhan committed Aug 15, 2018
1 parent a108bef commit 72f5227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ but here are a few examples of "before"/"after" to whet your appetite:
```hbs
{{site-header user=this.user class=(if this.user.isAdmin "admin")}}
{{#super-select selected=this.user.country as |s|}}
{{#super-select selected=this.user.country as |option|}}
{{#each this.availableCountries as |country|}}
{{#s.option value=country}}{{country.name}}{{/s.option}}
{{#option value=country}}{{country.name}}{{/s.option}}
{{/each}}
{{/super-select}}
```
Expand Down

0 comments on commit 72f5227

Please sign in to comment.