Anders Kaseorg
|
b1aa304c4a
|
templates: Suppress Handlebars automatic partial indentation.
Fixes #12795.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
|
2019-07-17 16:07:17 -07:00 |
Anders Kaseorg
|
0bd5c46e40
|
zjsunit/handlebars: Support auto-registering partials.
webpack with handlebars-loader already does this, so we only need to
fix up the tests.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
|
2019-07-12 21:11:14 -07:00 |
Anders Kaseorg
|
db0b33842c
|
templates: Replace templates.render with require calls.
This removes an unnecessary layer of indirection and allows webpack to
catch filename mistakes.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
|
2019-07-12 21:11:14 -07:00 |
Anders Kaseorg
|
706f13b671
|
zjsunit: Wrap Handlebars with mocking support.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
|
2019-07-12 21:11:14 -07:00 |