`window` is not defined
loreanvictor opened this issue · comments
importing in an environment where no global window object is present results in window is not defined
error, potentially due to this line. it should be fixed so that if there is no global window object, the default functions throw an error when called, but everything can be properly imported.