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:
Jarek Radosz
2022-06-20 16:33:05 +02:00
committed by GitHub
parent 6f27c50287
commit 2c1fc28d00
19 changed files with 67 additions and 197 deletions

View File

@@ -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