1
Fork 0

Enforce quote rule for JS source code

This commit is contained in:
Guillaume Gomez 2022-05-07 20:18:23 +02:00
parent f9b2e3c87b
commit 14897180ae
6 changed files with 56 additions and 52 deletions

View file

@ -24,7 +24,7 @@ function getSettingValue(settingName) {
if (settingsDataset !== null) {
// See the comment for `default_settings.into_iter()` etc. in
// `Options::from_matches` in `librustdoc/config.rs`.
const def = settingsDataset[settingName.replace(/-/g,'_')];
const def = settingsDataset[settingName.replace(/-/g,"_")];
if (def !== undefined) {
return def;
}
@ -173,7 +173,7 @@ const updateSystemTheme = (function () {
// fallback to the CSS computed value
return () => {
const cssTheme = getComputedStyle(document.documentElement)
.getPropertyValue('content');
.getPropertyValue("content");
switchTheme(
window.currentTheme,