Skip to content

Commit

Permalink
Fix a typo in #let examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava committed May 19, 2015
1 parent 0a30cab commit 66f9b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/spacebars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ data context, another variable) with a short-hand within the template:

```handlebars
{{#let name=person.bio.firstName color=generateColor}}
<div>{{name}} get a {{color}} card!</div>
{{/each}}
<div>{{name}} gets a {{color}} card!</div>
{{/let}}
```

Variables introduced this way take precedence over names of templates, global
Expand Down

0 comments on commit 66f9b19

Please sign in to comment.