Changed Header.js to use const

This commit is contained in:
Daniel van Noord
2021-02-09 23:51:03 +01:00
parent d1336efb90
commit 4c009df819
2 changed files with 14 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,32 +1,18 @@
/* eslint-disable no-redeclare */
/* eslint-disable no-unused-vars */
/********** /**********
* Header * * Header *
**********/ **********/
var RunCookieMonsterHeader = function() { const CM = {
CM = {}; Backup: {},
Cache: {},
CM.Backup = {}; Config: {},
ConfigData: {},
CM.Cache = {}; Data: {},
Disp: {},
CM.Config = {}; Footer: {},
Main: {},
CM.ConfigData = {}; Options: {},
Sim: {},
CM.Data = {};
CM.Disp = {};
CM.Footer = {};
CM.Main = {};
CM.Options = {};
CM.Sim = {};
}; };
if (typeof CM == "undefined") {
RunCookieMonsterHeader();
}