mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove ember-cli flags from the backend (#17147)
…and other auxiliary code * Restore `QUNIT_EMBER_CLI` flag warning * Add `ALLOW_EMBER_CLI_PROXY_BYPASS`
This commit is contained in:
@@ -136,11 +136,9 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def preload_script(script)
|
||||
script = EmberCli.transform_name(script)
|
||||
|
||||
scripts = [script]
|
||||
|
||||
if EmberCli.enabled? && chunks = EmberCli.script_chunks[script]
|
||||
if chunks = EmberCli.script_chunks[script]
|
||||
scripts.push(*chunks)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user