Add support for transformations

This commit is contained in:
Robin Ward
2017-10-05 16:13:00 -04:00
parent 07d04aba1d
commit 0c84352386
3 changed files with 22 additions and 8 deletions

View File

@ -5,7 +5,13 @@ template = <<~HBS
{{#if state.category}}
{{attach widget="category-display" attrs=(hash category=state.category someNumber=123 someString="wat")}}
{{/if}}
{{#unless state.hello}}
{{#each transformed.something as |s|}}
{{s.wat}}
{{/each}}
{{attach widget=settings.widgetName}}
{{#unless settings.hello}}
XYZ
{{/unless}}
HBS