discourse/app/helpers
Joe 804b8fd9f9
DEV: Defer loading core/plugin/theme JS files (#17063)
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.
2022-06-20 09:47:37 +08:00
..
application_helper.rb DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
common_helper.rb FEATURE: Implement nonces for Google Tag Manager integration (#12531) 2021-03-26 11:19:31 -04:00
email_helper.rb FEATURE: Enables support for dark mode emails (#16520) 2022-04-20 13:00:04 -05:00
embed_helper.rb FIX: Display small post actions when embedding a topic (#9278) 2020-03-26 09:07:41 -03:00
emoji_helper.rb FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
list_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
posts_helper.rb FEATURE: use canonical links in posts.rss feed (#16190) 2022-03-15 20:17:06 +11:00
qunit_helper.rb DEV: Allow Ember CLI assets to be used by development Rails app (#16511) 2022-04-21 16:26:34 +01:00
topic_post_bookmarkable_helper.rb FIX: Use registered bookmarkables for BookmarkManager (#16695) 2022-05-11 09:51:03 +10:00
topics_helper.rb Improve support for old browsers (#9515) 2020-04-29 21:40:21 +03:00
user_notifications_helper.rb DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00