1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Just code style (JS)

This commit is contained in:
nobody
2021-02-17 07:01:08 +01:00
parent 25a8a0499c
commit db398fadec
26 changed files with 572 additions and 226 deletions

View File

@@ -18,12 +18,14 @@
'use strict';
/**
* State Manager
*/
var stateManager = {};
/**
* Public Methods
*/
@@ -251,7 +253,7 @@ stateManager._domainIsListed = function (domain, listname) {
let allowlistRecord, isAllowlisted;
if (listname === "manipulate-dom") {
if (listname === 'manipulate-dom') {
allowlistRecord = requestAnalyzer.domainsManipulateDOM[domain];
isAllowlisted = Boolean(allowlistRecord);
} else {