mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Update the JS/CSS files for the new Prettier/Stylelint versions
This commit is contained in:
parent
49eba2f892
commit
c77b97daff
5 changed files with 6 additions and 5 deletions
|
@ -482,7 +482,7 @@ class AppOptions {
|
|||
}
|
||||
options[name] = defaultOnly
|
||||
? defaultOption.value
|
||||
: userOptions[name] ?? defaultOption.value;
|
||||
: (userOptions[name] ?? defaultOption.value);
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ class L10n {
|
|||
constructor({ lang, isRTL }, l10n = null) {
|
||||
this.#lang = L10n.#fixupLangCode(lang);
|
||||
this.#l10n = l10n;
|
||||
this.#dir = isRTL ?? L10n.#isRTL(this.#lang) ? "rtl" : "ltr";
|
||||
this.#dir = (isRTL ?? L10n.#isRTL(this.#lang)) ? "rtl" : "ltr";
|
||||
}
|
||||
|
||||
_setL10n(l10n) {
|
||||
|
|
|
@ -96,10 +96,11 @@
|
|||
}
|
||||
|
||||
::selection {
|
||||
/* stylelint-disable declaration-block-no-duplicate-properties */
|
||||
/*#if !MOZCENTRAL*/
|
||||
background: rgba(0 0 255 / 0.25);
|
||||
/*#endif*/
|
||||
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
|
||||
/* stylelint-enable declaration-block-no-duplicate-properties */
|
||||
background: color-mix(in srgb, AccentColor, transparent 75%);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue