Closed mserege closed 6 years ago
Hi,
Going from 0.1.2 to 0.2.0 made verification of document variable definition disappeared.
if (typeof document === 'undefined') { return returnValue; }
Would it be possible to put it back so my module can work on server-side without throwing an exception?
Thanks
If you're authoring a js library, it should always extract css instead of injecting to head 😄
but yeah, we can make it return when document is undefined
return
document
undefined
Fixed in v0.2.1
v0.2.1
Hi,
Going from 0.1.2 to 0.2.0 made verification of document variable definition disappeared.
if (typeof document === 'undefined') { return returnValue; }
Would it be possible to put it back so my module can work on server-side without throwing an exception?
Thanks