gator
gator copied to clipboard
Check if window exists before window.Gator = Gator
That is the only thing in the whole file that makes this package not to work in Node.js. If you check if window exists before assigning the variable, we would be able to use it with a DOM implementation for Node.
Agree. This package needs UMD export