Skip to content

Commit

Permalink
Merge pull request emberjs#14026 from wagenet/fix-partial-docs
Browse files Browse the repository at this point in the history
[DOC release] Use dash for partial naming
  • Loading branch information
locks committed Aug 5, 2016
2 parents 3d25f98 + 98269f8 commit 138de8f
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 138de8f

Please sign in to comment.