Skip to content

Commit

Permalink
Remove this from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Mar 11, 2016
1 parent 310a0bb commit 9054e86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ ember install ember-named-yields
Setup the named yields in your component template:

```hbs
{{named-yield this 'header'}}
{{named-yield 'header'}}
{{yield (hash
header=(component 'block-for' this 'header')
footer=(component 'block-for' this 'footer')
header=(component 'block-for' 'header')
footer=(component 'block-for' 'footer')
)}}
{{named-yield this 'footer'}}
{{named-yield 'footer'}}
```

The `{{yield}}` is the body yield in this example.
Expand All @@ -45,4 +45,4 @@ Now to use this component:


[named yields RFC]: https://github.com/emberjs/rfcs/pull/72
[here]: https://github.com/knownasilya/ember-yielded-portals
[here]: https://github.com/knownasilya/ember-yielded-portals

0 comments on commit 9054e86

Please sign in to comment.