I upgraded ember-cli from 0.1.7 to 0.2.2 a few hours back.... now I get an error in one of my handlebar templates in a nested '#each' block that refers to a property using double dot notation. The error is
Uncaught Error: Assertion Failed: KeyStream error: key must be a non-empty string
The lines in the .hbs file that triggers this:
{{#each dir in ../subDirs}}
<a class="file-link" {{action 'fileClicked' dir.name}}>{{dir.name}}</a><br/>
{{/each}}
The error does not appear if the above 3 lines are removed.
The line in the processed application js file that triggers the error:
block(env, morph1, context, "each", [get(env, context, "../subDirs")], {"keyword": "dir"}, child0, null);
Thanks for your attention.
Aucun commentaire:
Enregistrer un commentaire