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() {
|
(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);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -48,6 +48,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"];
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren