mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
const ColocatedTemplateProcessor = require("ember-cli-htmlbars/lib/colocated-broccoli-plugin");
|
|
|
|
module.exports = class DiscoursePluginColocatedTemplateProcessor extends (
|
|
ColocatedTemplateProcessor
|
|
) {
|
|
constructor(tree, rootName) {
|
|
super(tree);
|
|
this.rootName = rootName;
|
|
}
|
|
|
|
detectRootName() {
|
|
return this.rootName;
|
|
}
|
|
};
|