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

cleanup and replace all instances of 'var' with 'let'

This commit is contained in:
nobody
2024-04-28 07:18:40 +02:00
parent 8db699e210
commit e87b40e6b9
18 changed files with 18 additions and 18 deletions

View File

@@ -21,7 +21,7 @@
* File Guard * File Guard
*/ */
var fileGuard = {}; let fileGuard = {};
/** /**

View File

@@ -23,7 +23,7 @@
* Interceptor * Interceptor
*/ */
var interceptor = {}; let interceptor = {};
/** /**

View File

@@ -23,7 +23,7 @@
* Main * Main
*/ */
var main = {}; let main = {};
/** /**

View File

@@ -19,7 +19,7 @@
* Manipulate DOM * Manipulate DOM
*/ */
var manipulateDOM = {}; let manipulateDOM = {};
/** /**

View File

@@ -23,7 +23,7 @@
* Mappings * Mappings
*/ */
var mappings = {}; let mappings = {};
/* /*
* Date of last update. * Date of last update.

View File

@@ -23,7 +23,7 @@
* Messenger * Messenger
*/ */
var messenger = {}; let messenger = {};
/** /**

View File

@@ -23,7 +23,7 @@
* Request Analyzer * Request Analyzer
*/ */
var requestAnalyzer = {}; let requestAnalyzer = {};
/** /**

View File

@@ -18,7 +18,7 @@
* Request Sanitizer * Request Sanitizer
*/ */
var requestSanitizer = {}; let requestSanitizer = {};
/** /**

View File

@@ -23,7 +23,7 @@
* Resources * Resources
*/ */
var resources = { let resources = {
// Ajax Bootstrap Select // Ajax Bootstrap Select
'ajaxBootstrapSelect': { 'ajaxBootstrapSelect': {

View File

@@ -23,7 +23,7 @@
* Shorthands * Shorthands
*/ */
var shorthands = {}; let shorthands = {};
shorthands.specialFiles = function (channelHost, channelPath, searchString) { shorthands.specialFiles = function (channelHost, channelPath, searchString) {

View File

@@ -23,7 +23,7 @@
* State Manager * State Manager
*/ */
var stateManager = {}; let stateManager = {};
/** /**

View File

@@ -26,7 +26,7 @@ const InvalidFile = 'Invalid file!';
* Storage Manager * Storage Manager
*/ */
var storageManager = {}; let storageManager = {};
/** /**

View File

@@ -23,7 +23,7 @@
* Helpers * Helpers
*/ */
var helpers = {}; let helpers = {};
/** /**

View File

@@ -19,7 +19,7 @@
* Log * Log
*/ */
var log = {}; let log = {};
log.append = function (initiator, resource, target, highlight, iframe = '') { log.append = function (initiator, resource, target, highlight, iframe = '') {
storageManager.type.get(Setting.LOGGING, function (items) { storageManager.type.get(Setting.LOGGING, function (items) {

View File

@@ -19,7 +19,7 @@
* Updates * Updates
*/ */
var ruleGenerator = {}; let ruleGenerator = {};
/** /**

View File

@@ -20,7 +20,7 @@
* Stats * Stats
*/ */
var stats = {}; let stats = {};
/** /**

View File

@@ -19,7 +19,7 @@
* Targets * Targets
*/ */
var targets = {}; let targets = {};
/** /**

View File

@@ -22,7 +22,7 @@
* Wrappers * Wrappers
*/ */
var wrappers = {}; let wrappers = {};
/** /**