Expose building and upgrade data to global scope

This commit is contained in:
Daniël van Noord
2021-05-06 20:27:17 +02:00
parent cc2a754425
commit 5a045e7ac4
5 changed files with 24 additions and 4 deletions

View File

@@ -24,6 +24,9 @@ import AddWrinklerAreaDetect from './WrinklerArea/AddDetectArea';
* Initialization loop of Cookie Monster
*/
export default function InitializeCookieMonster() {
// Create global data object
window.CookieMonsterData = {};
InitData();
CacheStatsCookies();
InitCache();