Incorporated Modding API

This commit is contained in:
Daniel van Noord
2020-12-21 22:53:23 +01:00
parent e6118f14c2
commit 203dc8137e
8 changed files with 147 additions and 92 deletions

View File

@@ -264,17 +264,6 @@ CM.Disp.CreateCssArea = function() {
document.head.appendChild(CM.Disp.Css);
}
/**
* TODO: What does this do? @Aktanusa
* It is called by CM.Init()
*/
CM.Disp.AddJscolor = function() {
CM.Disp.Jscolor = document.createElement('script');
CM.Disp.Jscolor.type = 'text/javascript';
CM.Disp.Jscolor.setAttribute('src', 'https://aktanusa.github.io/CookieMonster/jscolor/jscolor.js');
document.head.appendChild(CM.Disp.Jscolor);
}
/**
* This function sets the size of the background of the full game and the left column
* depending on whether certain abrs are activated