Changed Header.js to use const
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user