mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:26:29 +08:00
21 lines
419 B
JavaScript
21 lines
419 B
JavaScript
|
"use strict";
|
||
|
|
||
|
const calculateCacheKeyForTree = require("calculate-cache-key-for-tree");
|
||
|
|
||
|
module.exports = {
|
||
|
name: require("./package").name,
|
||
|
treeForAddon(tree) {
|
||
|
let app = this._findHost();
|
||
|
app.options.wizardTree = this._super.treeForAddon.call(this, tree);
|
||
|
return;
|
||
|
},
|
||
|
|
||
|
cacheKeyForTree(tree) {
|
||
|
return calculateCacheKeyForTree(tree, this);
|
||
|
},
|
||
|
|
||
|
isDevelopingAddon() {
|
||
|
return true;
|
||
|
},
|
||
|
};
|