diff --git a/src/entries/chunks/model.ts b/src/entries/chunks/model.ts index e883166fbf..b53f22b404 100644 --- a/src/entries/chunks/model.ts +++ b/src/entries/chunks/model.ts @@ -16,13 +16,16 @@ export function checkLibraryVersion(ver: string, libraryName: string): void { } } export function setLicenseKey(key: string): void { - slk(key, lic, ReleaseDate); + slk(key); +} +export function slk(key: string): void { + _slk(key, lic, ReleaseDate); } export function hasLicense(index: number): boolean { return lic[index.toString()] === true; } const lic: any = {}; -function slk(k: any, lh: any, rd: any) { +function _slk(k: any, lh: any, rd: any) { if (!k) return; const en = (s: string) => { var e: any = {}, i, b = 0, c, x, l = 0, a, r = "", w = String.fromCharCode, L = s.length;