2022-10-17 04:38:20 -04:00
|
|
|
const ColocatedTemplateProcessor = require("ember-cli-htmlbars/lib/colocated-broccoli-plugin");
|
|
|
|
|
|
|
|
module.exports = class DiscoursePluginColocatedTemplateProcessor extends (
|
|
|
|
ColocatedTemplateProcessor
|
|
|
|
) {
|
2022-12-07 09:24:03 -05:00
|
|
|
constructor(tree, rootName) {
|
2022-10-21 15:20:46 -04:00
|
|
|
super(tree);
|
2022-12-07 09:24:03 -05:00
|
|
|
this.rootName = rootName;
|
2022-10-21 15:20:46 -04:00
|
|
|
}
|
2022-10-17 04:38:20 -04:00
|
|
|
|
2022-10-21 15:20:46 -04:00
|
|
|
detectRootName() {
|
2022-12-07 09:24:03 -05:00
|
|
|
return this.rootName;
|
2022-10-17 04:38:20 -04:00
|
|
|
}
|
|
|
|
};
|