mirror of
https://github.com/LalleSX/4chan-XZ.git
synced 2026-03-20 01:37:47 +01:00
var to const
This commit is contained in:
parent
69051d6095
commit
5183de55b6
@ -30,7 +30,7 @@ import UnreadIndex from './UnreadIndex'
|
|||||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var ThreadWatcher = {
|
const ThreadWatcher = {
|
||||||
init() {
|
init() {
|
||||||
let sc
|
let sc
|
||||||
if (!(this.enabled = Conf['Thread Watcher'])) { return }
|
if (!(this.enabled = Conf['Thread Watcher'])) { return }
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import ThreadWatcher from "./ThreadWatcher"
|
|||||||
* DS207: Consider shorter variations of null checks
|
* DS207: Consider shorter variations of null checks
|
||||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
||||||
*/
|
*/
|
||||||
var Unread = {
|
const Unread = {
|
||||||
init() {
|
init() {
|
||||||
if ((g.VIEW !== 'thread') || (
|
if ((g.VIEW !== 'thread') || (
|
||||||
!Conf['Unread Count'] &&
|
!Conf['Unread Count'] &&
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import ThreadWatcher from "./ThreadWatcher"
|
|||||||
* DS205: Consider reworking code to avoid use of IIFEs
|
* DS205: Consider reworking code to avoid use of IIFEs
|
||||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
||||||
*/
|
*/
|
||||||
var UnreadIndex = {
|
const UnreadIndex = {
|
||||||
lastReadPost: dict(),
|
lastReadPost: dict(),
|
||||||
hr: dict(),
|
hr: dict(),
|
||||||
markReadLink: dict(),
|
markReadLink: dict(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user