discourse/app/assets/javascripts/admin/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
418 B
JavaScript
Raw Normal View History

"use strict";
const calculateCacheKeyForTree = require("calculate-cache-key-for-tree");
module.exports = {
name: require("./package").name,
treeForAddon(tree) {
let app = this._findHost();
app.options.adminTree = this._super.treeForAddon.call(this, tree);
return;
},
cacheKeyForTree(tree) {
return calculateCacheKeyForTree(tree, this);
},
isDevelopingAddon() {
return true;
},
};