Skip to content

Commit

Permalink
Merge pull request #39 from kpdecker/literal-example
Browse files Browse the repository at this point in the history
Add additional example of literal use case
  • Loading branch information
kpdecker committed Apr 8, 2013
2 parents 5be33ee + a32391e commit 6c981b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/expressions.haml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
To reference a property that is not a valid identifier, you can
use segment-literal notation:
:html
{{#each articles.[10].comments}}
{{#each articles.[10].[#comments]}}
<h1>{{subject}}</h1>
<div>
{{body}}
Expand Down

0 comments on commit 6c981b7

Please sign in to comment.