DEV: Remove global Handlebars

This commit is contained in:
Robin Ward
2020-05-01 14:11:45 -04:00
parent 85605efe84
commit f182e61def
9 changed files with 20 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
import { acceptance } from "helpers/qunit-helpers";
import compile from "handlebars-compiler";
const CONNECTOR =
"javascripts/raw-test/connectors/topic-list-before-status/lala";
acceptance("Raw Plugin Outlet", {
beforeEach() {
Discourse.RAW_TEMPLATES[CONNECTOR] = Handlebars.compile(
Discourse.RAW_TEMPLATES[CONNECTOR] = compile(
`<span class='topic-lala'>{{context.topic.id}}</span>`
);
},