Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
Update raw template global in erb
Dieser Commit ist enthalten in:
Ursprung
f0edc18804
Commit
bb85b3a0d2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -21,7 +21,7 @@ Discourse.unofficial_plugins.each do |plugin|
|
||||||
result << "
|
result << "
|
||||||
(function() {
|
(function() {
|
||||||
if ('Wizard' in window) {
|
if ('Wizard' in window) {
|
||||||
Discourse.RAW_TEMPLATES['javascripts/#{name}'] = requirejs('discourse-common/lib/raw-handlebars').template(#{compiled});
|
window.__DISCOURSE_RAW_TEMPLATES['javascripts/#{name}'] = requirejs('discourse-common/lib/raw-handlebars').template(#{compiled});
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
"
|
"
|
||||||
|
|
Laden …
In neuem Issue referenzieren