From 8f347f428f0d5d511c072e68f72569a0d56233b8 Mon Sep 17 00:00:00 2001 From: Robert Barrow Date: Thu, 31 Oct 2019 16:03:16 +0000 Subject: [PATCH] require fix experiment --- assets/javascripts/wizard/initializers/custom.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/wizard/initializers/custom.js.es6 b/assets/javascripts/wizard/initializers/custom.js.es6 index 7e9d2b69..1b50bde1 100644 --- a/assets/javascripts/wizard/initializers/custom.js.es6 +++ b/assets/javascripts/wizard/initializers/custom.js.es6 @@ -1,4 +1,5 @@ import { default as computed } from 'ember-addons/ember-computed-decorators'; +import Singleton from "discourse/mixins/singleton"; export default { name: 'custom-routes', @@ -17,7 +18,7 @@ export default { const FieldModel = requirejs('wizard/models/wizard-field').default; const autocomplete = requirejs('discourse/lib/autocomplete').default; const cook = requirejs('discourse/plugins/discourse-custom-wizard/wizard/lib/text-lite').cook; - const Singleton = requirejs("discourse/mixins/singleton").default; + //const Singleton = requirejs("discourse/mixins/singleton").default; const WizardFieldDropdown = requirejs('wizard/components/wizard-field-dropdown').default; WizardFieldDropdown.reopen({