0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

Asset pipeline can't handle es6

Dieser Commit ist enthalten in:
Angus McLeod 2020-09-01 21:40:12 +10:00
Ursprung 73cdd2bc4d
Commit b57a06ceff
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -1,11 +1,4 @@
(function() { (function() {
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create(); var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
wizard.start(); wizard.start();
Object.keys(Ember.TEMPLATES).forEach(k => {
if (k.indexOf("select-kit") === 0) {
let template = Ember.TEMPLATES[k];
define(k, () => template);
}
});
})(); })();

Datei anzeigen

@ -49,6 +49,13 @@ export default {
$.fn.autocomplete = autocomplete; $.fn.autocomplete = autocomplete;
Object.keys(Ember.TEMPLATES).forEach(k => {
if (k.indexOf("select-kit") === 0) {
let template = Ember.TEMPLATES[k];
define(k, () => template);
}
});
const targets = ["controller", "component", "route", "model", "adapter"]; const targets = ["controller", "component", "route", "model", "adapter"];
const siteSettings = Wizard.SiteSettings; const siteSettings = Wizard.SiteSettings;