Kaynağa Gözat

Review by Anthony: better variable naming

master
David Larlet 4 yıl önce
ebeveyn
işleme
e7d7e250fc

+ 4
- 4
david/2020/01/03/index.html Dosyayı Görüntüle

@@ -143,10 +143,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/06/index.html Dosyayı Görüntüle

@@ -161,10 +161,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/10/index.html Dosyayı Görüntüle

@@ -159,10 +159,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/15/index.html Dosyayı Görüntüle

@@ -161,10 +161,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/17/index.html Dosyayı Görüntüle

@@ -155,10 +155,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/22/index.html Dosyayı Görüntüle

@@ -175,10 +175,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/29/index.html Dosyayı Görüntüle

@@ -199,10 +199,10 @@ Comme un hameau paisible au pied d’une montagne.</p>
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/01/31/index.html Dosyayı Görüntüle

@@ -163,10 +163,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/02/07/index.html Dosyayı Görüntüle

@@ -263,10 +263,10 @@ On croyait la main du marché invisible, c’est en fait une œillère bien opaq
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/02/14/index.html Dosyayı Görüntüle

@@ -226,10 +226,10 @@ Ensuite je survole régulièrement et je marque &quot;comme lu&quot; (sans les l
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/02/21/index.html Dosyayı Görüntüle

@@ -203,10 +203,10 @@ mark::after {
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/03/13/index.html Dosyayı Görüntüle

@@ -210,10 +210,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/03/20/index.html Dosyayı Görüntüle

@@ -190,10 +190,10 @@ mark::after {
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/03/27/index.html Dosyayı Görüntüle

@@ -222,10 +222,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/04/03/index.html Dosyayı Görüntüle

@@ -189,10 +189,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/04/10/index.html Dosyayı Görüntüle

@@ -199,10 +199,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/04/18/index.html Dosyayı Görüntüle

@@ -227,10 +227,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/05/18/index.html Dosyayı Görüntüle

@@ -168,10 +168,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/05/20/index.html Dosyayı Görüntüle

@@ -205,10 +205,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/05/26/index.html Dosyayı Görüntüle

@@ -201,10 +201,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/06/12/index.html Dosyayı Görüntüle

@@ -187,10 +187,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/06/18/index.html Dosyayı Görüntüle

@@ -203,10 +203,10 @@ Le trou où la bête panse ses plaies, non le repaire où elle fourbit ses griff
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/11/27/index.html Dosyayı Görüntüle

@@ -166,10 +166,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/12/15/index.html Dosyayı Görüntüle

@@ -176,10 +176,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/12/21/index.html Dosyayı Görüntüle

@@ -220,10 +220,10 @@ L’alternative c’est l’ermitage.</p>
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/2020/index.html Dosyayı Görüntüle

@@ -196,10 +196,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/index.html Dosyayı Görüntüle

@@ -189,10 +189,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


+ 4
- 4
david/templates/base_2020.html Dosyayı Görüntüle

@@ -97,10 +97,10 @@
toggleTheme(chosenColorScheme)
})

const themeSelected = localStorage.getItem('theme')
if (themeSelected !== 'undefined') {
form.querySelector(`[value="${themeSelected}"]`).checked = true
toggleTheme(themeSelected)
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
toggleTheme(selectedTheme)
}
}


Loading…
İptal
Kaydet