Closed friscoMad closed 8 years ago
= each model as |card|
works for me. Are you including the closing pipe?
(Also, unfortunately the try-emblem site is a few versions of out date)
Ok using that sintaxis works without issues, what it is exactly that double pipe? I haven't seen it in the documentation.
It's Ember's block param syntax: http://emberjs.com/blog/2015/02/07/ember-1-10-0-released.html#toc_block-params
I am unable to generate a correct result to use new each syntax as shown here: http://guides.emberjs.com/v2.1.0/templates/displaying-a-list-of-items/
each model as |card
Does not work{#each model as |card}
Also does not workProbably there is some way to overcome this but I am unable to find it. I am using ember-cli-emblem but also have tried with http://bantic.github.io/try-emblem/ with the same results