Skip to content

Commit

Permalink
[DOC release] Use dash for partial naming
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Aug 4, 2016
1 parent 3d25f98 commit 98269f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ember-htmlbars/lib/keywords/partial.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import { internal } from 'htmlbars-runtime';
```
The above example template will render a template named
"_nav", which has the same context as the parent template
it's rendered into, so if the "_nav" template also referenced
"-nav", which has the same context as the parent template
it's rendered into, so if the "-nav" template also referenced
`{{foo}}`, it would print the same thing as the `{{foo}}`
in the above example.
If a "_nav" template isn't found, the `partial` helper will
If a "-nav" template isn't found, the `partial` helper will
fall back to a template named "nav".
### Bound template names
Expand Down

0 comments on commit 98269f8

Please sign in to comment.