mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06: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_spec.rb | ||
redis_snapshot_helper.rb | ||
topics_helper_spec.rb | ||
user_notifications_helper_spec.rb |