Closed alexhung closed 7 years ago
Shouldn't it just pass it as undefined when window is not defined? })(window);
I'm doing a nil check later on, didn't really expect this to break.
@alexhung could you give it a try with these changes.
Yes, this works. Would you please submit it to npm?
Oh man I totally forgot to actually publish it. Sorry about that.
Install via npm, open node REPL and got this when trying to require the lib:
Same error when I use it in my node project.