Build: Use the US spelling of "favor"

Closes gh-4752
This commit is contained in:
Necmettin Karakaya 2020-07-22 22:12:54 +08:00 committed by GitHub
parent 3a1b338a7a
commit fa0058af42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
amd = QUnit.config.amd || QUnit.urlParams.amd; amd = QUnit.config.amd || QUnit.urlParams.amd;
// Workaround: Remove call to `window.__karma__.loaded()` // Workaround: Remove call to `window.__karma__.loaded()`
// in favour of calling `window.__karma__.start()` from `loadTests()` // in favor of calling `window.__karma__.start()` from `loadTests()`
// because tests such as unit/ready.js should run after document ready. // because tests such as unit/ready.js should run after document ready.
if ( !esmodules && !amd ) { if ( !esmodules && !amd ) {
loadTests(); loadTests();

View File

@ -34,7 +34,7 @@
amd = QUnit.config.amd || QUnit.urlParams.amd; amd = QUnit.config.amd || QUnit.urlParams.amd;
// Workaround: Remove call to `window.__karma__.loaded()` // Workaround: Remove call to `window.__karma__.loaded()`
// in favour of calling `window.__karma__.start()` from `loadTests()` // in favor of calling `window.__karma__.start()` from `loadTests()`
// because tests such as unit/ready.js should run after document ready. // because tests such as unit/ready.js should run after document ready.
if ( !esmodules && !amd ) { if ( !esmodules && !amd ) {
loadTests(); loadTests();

View File

@ -36,7 +36,7 @@
amd = QUnit.config.amd || QUnit.urlParams.amd; amd = QUnit.config.amd || QUnit.urlParams.amd;
// Workaround: Remove call to `window.__karma__.loaded()` // Workaround: Remove call to `window.__karma__.loaded()`
// in favour of calling `window.__karma__.start()` from `loadTests()` // in favor of calling `window.__karma__.start()` from `loadTests()`
// because tests such as unit/ready.js should run after document ready. // because tests such as unit/ready.js should run after document ready.
if ( !esmodules && !amd ) { if ( !esmodules && !amd ) {
loadTests(); loadTests();