discourse/app/views/layouts
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
..
_head.html.erb Replace base_uri with base_path (#10879) 2020-10-09 12:51:24 +01:00
_noscript_footer.html.erb UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
_noscript_header.html.erb UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
application.html.erb DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
crawler.html.erb UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
email_template.html.erb Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
embed.html.erb Code review comments. 2021-06-21 11:06:58 +08:00
ember_cli.html.erb remove some hardcoded 'localhost's from dev environment (#14801) 2021-11-03 11:26:44 +08:00
finish_installation.html.erb DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
no_ember.html.erb DEV: adds server:after-body-open (#14106) 2021-08-24 14:35:44 +02:00
publish.html.erb FIX: adds google tracking to page publishing (#12090) 2021-02-15 19:00:35 +01:00