pull down to refresh
"upgrade to <major version> of our SDK, it is much cleaner"
...
checks out because they no longer register globals and you can just put it in a closure now, cool
4 months later: hard dependency of sub module xyz.
Inside this module:
globalThis.mySingleton = {};
"upgrade to <major version> of our SDK, it is much cleaner"
...
checks out because they no longer register globals and you can just put it in a closure now, cool
...
4 months later: hard dependency of sub module xyz.
Inside this module:
globalThis.mySingleton = {};