mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 00:17:17 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -6,10 +6,11 @@ module QunitHelper
|
||||
return "" if theme.blank?
|
||||
|
||||
_, digest = theme.baked_js_tests_with_digest
|
||||
src = "#{GlobalSetting.cdn_url}" \
|
||||
"#{Discourse.base_path}" \
|
||||
"/theme-javascripts/tests/#{theme.id}-#{digest}.js" \
|
||||
"?__ws=#{Discourse.current_hostname}"
|
||||
src =
|
||||
"#{GlobalSetting.cdn_url}" \
|
||||
"#{Discourse.base_path}" \
|
||||
"/theme-javascripts/tests/#{theme.id}-#{digest}.js" \
|
||||
"?__ws=#{Discourse.current_hostname}"
|
||||
"<script defer src='#{src}'></script>".html_safe
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user