gator
gator copied to clipboard
Check if window is defined before assigning to it
#22
Curious what is the use case for Gator when there is no window?
I don't have a concrete use case to offer (maybe @rubennorte). However, not a good practice to bind to global window just assuming it's there.
Oh I missed the other ticket. So when using via dom in node there is no window. Got it
@ccampbell would you mind to merge this fix?