Predicate seems to now be required in template helpers
Closed this issue · 2 comments
LucasHillDex commented
Previously you could write something like:
{{#liquid-if this.myCondition}} Hidden {{/if}}
As of v0.36 it seems you must write:
{{#liquid-if predicate=this.myCondition}} Hidden {{/if}}
The docs do not reflect this:
https://ember-animation.github.io/liquid-fire/helpers/liquid-if
Is predicate intended to be required (the tests use it that way), or is this unintentional?
mkszepp commented
@LucasHillDex thanks for info... i think we need only to publish docs, because we have already updated.
I will look to find time
mkszepp commented
@LucasHillDex Docs are now published... thanks for reporting (current docs were 6 years old 😅)
Note: Yes predicate
is now required, because everything in v0.36 is now glimmer