You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
---Confirmed this bug as happening also when using UI.ContentBlock to define your own components (that thing that's supposed to make #1 missing not hurt so much...)
I'll note that this happens with things that extend spacebars too, such as {{#sortable}}---
This isn't really a bug per se, @RevelsGit explained an intentional situation. "this" is always the current data context, as {{this}} will literally output the value stored in "this.data (from the Template point of view.)" I would imagine this is because variables are compiled by Spacebars/Handlebars at the end of the day. Your point data=this would require a data context on the template being used in. The point of ../template means that the parent data context must also be set (as with ..)
If any of this is incorrect please feel free to correct, it's speculation as to how I see it working.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Dunno if it's bug or not.
Consider this code:
It just doesn't work, but if I add some content after all works fine.
The text was updated successfully, but these errors were encountered: