shädam

Results 5 issues of shädam

The contents of `test.js`: ```js let a = null; function b() { if(a != null) { console.log("not null"); } a = 0; } b(); document.getElementById("id").onclick = b; ``` Compiled with...

`test.js`: ```js /** @type {BeforeUnloadEvent} */ var a; ``` Compiled with `closure-compiler -O ADVANCED --js test.js --js_output_file test.min.js` version `v20220601`: ``` test.js:1:11: WARNING - [JSC_UNRECOGNIZED_TYPE_ERROR] Bad type annotation. Unknown type...

help wanted

So needless to say, EventTarget is pretty damn slow. I wrote an identical interface to yours in `event_emitter.ts`: ```js export class ObjectEventEmitter { #events: Object = {}; /** * *...

Other classes could be added via styling or by hooking to `document.createElement()`. This is the safe way to do it.

Has clang-format ever been applied? I just applied it to the codebase and most of the files get changed by it (using the config file at the top of the...