Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Asset pipeline can't handle es6
Dieser Commit ist enthalten in:
Ursprung
73cdd2bc4d
Commit
b57a06ceff
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
|
@ -1,11 +1,4 @@
|
|||
(function() {
|
||||
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
||||
wizard.start();
|
||||
|
||||
Object.keys(Ember.TEMPLATES).forEach(k => {
|
||||
if (k.indexOf("select-kit") === 0) {
|
||||
let template = Ember.TEMPLATES[k];
|
||||
define(k, () => template);
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
|
@ -49,6 +49,13 @@ export default {
|
|||
|
||||
$.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 siteSettings = Wizard.SiteSettings;
|
||||
|
|
Laden …
In neuem Issue referenzieren