Skip to content

Commit

Permalink
Yield index in collection block syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Aug 23, 2015
1 parent f685a78 commit 66c15bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions addon/templates/components/md-collection.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if _hasHeader}}
{{view headerView}}
{{/if}}
{{#each content as |item|}}
{{yield item}}
{{#each content as |item idx|}}
{{yield item idx}}
{{/each}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ember-cli-materialize",
"description": "An ember-cli addon for using Materialize (CSS Framework based on Material Design) in Ember applications.",
"version": "0.18.1",
"version": "0.18.2",
"directories": {
"doc": "doc",
"test": "tests"
Expand Down

0 comments on commit 66c15bd

Please sign in to comment.