Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 19:10:29 +01:00
20 Zeilen
520 B
Text
20 Zeilen
520 B
Text
|
import { buildResolver } from "discourse-common/resolver";
|
||
|
import Application from "@ember/application";
|
||
|
import WizardInitializer from "./lib/initialize/wizard";
|
||
|
import { isTesting } from "discourse-common/config/environment";
|
||
|
|
||
|
export default Application.extend({
|
||
|
rootElement: "#custom-wizard-main",
|
||
|
Resolver: buildResolver("discourse/plugins/discourse-custom-wizard/wizard"),
|
||
|
|
||
|
customEvents: {
|
||
|
paste: "paste",
|
||
|
},
|
||
|
|
||
|
start() {
|
||
|
if (!isTesting()) {
|
||
|
this.initializer(WizardInitializer);
|
||
|
}
|
||
|
},
|
||
|
});
|