discourse/lib/javascripts
David Taylor 9811a1c5d9
DEV: Allow `transformed` values to be used in all widget hbs statements (#13331)
Previously, the `transformed.blah` shortcut could only be used in top-level hbs statements like {{transformed.blah}}. When attempting to use it in a sub-expression like `{{concat "hello" transformed.world}}`, it would raise a "transformed is not defined" error.

This commit updates the shortcut logic to make `transformed.blah` and `attrs.blah` work consistently in all hbs expressions.

Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com>
2021-06-08 16:46:07 +01:00
..
locale FEATURE: Add Belarusian language 2019-07-04 11:37:37 +02:00
messageformat-lookup.js REFACTOR: removes unreachable statement (#9680) 2020-05-07 16:37:02 +02:00
messageformat.js DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
widget-hbs-compiler.js DEV: Allow `transformed` values to be used in all widget hbs statements (#13331) 2021-06-08 16:46:07 +01:00