1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/lib/initialize/create-contexts.js.es6

13 Zeilen
372 B
Text

2022-03-16 12:33:34 +01:00
export default {
run(app, container) {
const { createHelperContext } = requirejs("discourse-common/lib/helpers");
createHelperContext({
siteSettings: container.lookup('site-settings:main'),
site: container.lookup("site:main"),
session: container.lookup("session:main"),
capabilities: container.lookup("capabilities:main"),
});
}
}