mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:03:43 +08:00
9811a1c5d9
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> |
||
---|---|---|
.. | ||
locale | ||
messageformat-lookup.js | ||
messageformat.js | ||
widget-hbs-compiler.js |