Robin Ward
7df57b35da
REFACTOR: Remove Discourse.__widget_helpers
...
It's now a variable in the context where the templates are created.
2020-08-06 14:35:46 -04:00
Robin Ward
b2b7afd310
Rename the server side widget hbs compiler
2020-03-27 12:06:14 -04:00
Robin Ward
eaa324ecbd
Revert "Move the widget-hbs compiler to js from es6"
...
This reverts commit 5d66a2c16e
.
2020-03-25 16:13:26 -04:00
Robin Ward
5d66a2c16e
Move the widget-hbs compiler to js from es6
2020-03-25 15:03:21 -04:00
Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Robin Ward
3cb0d27d38
DEV: Upgrade our widget handlebars compiler
...
Now supports subexpressions such as i18n and concat, plus automatic
attaching of widgets similar to ember.
2019-05-02 15:47:57 -04:00
David Taylor
9248ad1905
DEV: Enable Style/SingleLineMethods
and Style/Semicolon
in Rubocop ( #6717 )
2018-12-04 11:48:13 +08:00
Robin Ward
0c84352386
Add support for transformations
2017-10-05 16:24:58 -04:00
Robin Ward
07d04aba1d
Support {{unless}}
in virtual dom templates
2017-10-05 14:35:07 -04:00
Robin Ward
051b49efdb
FIX: Properly encode string literals in hbs compiler
2017-10-04 15:53:06 -04:00
Robin Ward
0caf6a0f7d
Support for HTML values in widget hbs templates
2017-09-29 09:56:14 -04:00
Robin Ward
979de48bbd
Fix ruby lint error
2017-09-28 16:15:32 -04:00
Robin Ward
df81d109e5
The ability to attach attrs
when embedding widgets
2017-09-28 16:08:43 -04:00