cimdit/profilegenerator/ts/init.ts

13 lines
307 B
TypeScript
Raw Permalink Normal View History

2022-03-12 21:44:58 +01:00
/// <reference path="ProfileGenerator.ts" />
/// <reference path="window.ts" />
/**
* Main entry function
*/
/// create our class as soon as the document is loaded
document.addEventListener("readystatechange", function(event: Event) {
if (!window.pg) {
window.pg = new ProfileGenerator();
}
});