Start Discourse in an initializer (#9930)

* DEV: To be pedantic, there is more than EMBER in there now

* DEV: Use less globals. Have `Discourse` start in an initializer

* DEV: Remove another global
This commit is contained in:
Robin Ward
2020-05-29 14:37:02 -04:00
committed by GitHub
parent ecfce93f28
commit 2b2434b82d
10 changed files with 109 additions and 95 deletions

View File

@ -48,7 +48,7 @@ class DiscourseJsProcessor
return false if relative_path.start_with?("#{js_root}/plugins/")
return true if %w(
preload-application-data
start-discourse
wizard-start
onpopstate-handler
google-tag-manager