0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-14 13:52:54 +01:00
discourse-custom-wizard/assets/javascripts/wizard/lib/initialize/create-contexts.js.es6
2022-06-15 08:03:38 +02:00

12 Zeilen
372 B
JavaScript

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"),
});
}
}