mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 17:05:32 +08:00
804b8fd9f9
This is pre-request work to introduce a splash screen while site assets load. The only change this commit introduces is that it ensures we add the defer attribute to core/plugin/theme .JS files. This will allow us to insert markup before the browser starts evaluating those scripts later on. It has no visual or functional impact on core. This will not have any impact on how themes and plugins work. The only exception is themes loading external scripts in the </head> theme field directly via script tags. Everything will work the same but those would need to add the defer attribute if they want to keep the benefits introduced in this PR. |
||
---|---|---|
.. | ||
application_helper.rb | ||
common_helper.rb | ||
email_helper.rb | ||
embed_helper.rb | ||
emoji_helper.rb | ||
list_helper.rb | ||
posts_helper.rb | ||
qunit_helper.rb | ||
topic_post_bookmarkable_helper.rb | ||
topics_helper.rb | ||
user_notifications_helper.rb |