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

Select-kit directory now needs to be manually injected

Dieser Commit ist enthalten in:
Angus McLeod 2020-09-01 21:28:14 +10:00
Ursprung 0940eb8aa0
Commit 73cdd2bc4d

Datei anzeigen

@ -1,4 +1,11 @@
(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);
}
});
})(); })();