Extract discourse_javascript.html.erb to a scrip include

* extract omniauth auth complete inline JS

* extract Ember error logging inline JS

* transpile `authentication-complete`

This is CSP related work
This commit is contained in:
Kyle Zhao
2018-10-09 13:50:45 +08:00
committed by Sam
parent 1c9b5e75e7
commit acba7d2a5d
5 changed files with 46 additions and 39 deletions

View File

@ -120,6 +120,7 @@ module Discourse
google-tag-manager.js
google-universal-analytics.js
preload-application-data.js
authentication-complete.js
}
# Precompile all available locales