This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests
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
..
acceptance DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
fixtures DEV: Remove reply_as_private_message from composer (#16979) 2022-06-06 15:10:34 -05:00
helpers DEV: Fix various frontend warnings (#17122) 2022-06-17 13:45:05 +02:00
integration DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
unit FIX: double selecting replies (#17086) 2022-06-17 18:32:57 +02:00
active-plugins.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
core-tests.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
index.html DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
plugin-tests.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
setup-tests.js DEV: Remove old deprecations (#14906) 2022-06-12 21:28:20 +02:00
test_starter.js DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
test-boot-ember-cli.js DEV: Support qunit_disable_auto_start in ember CLI (#16358) 2022-04-02 21:15:50 +02:00
test-helpers-rails.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
test-support-rails.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
theme_qunit_ember_jquery.js FIX: Theme tests should work in production (#13333) 2021-06-08 22:03:59 +03:00