gator icon indicating copy to clipboard operation
gator copied to clipboard

Check if window exists before window.Gator = Gator

Open rubennorte opened this issue 9 years ago • 1 comments

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.

rubennorte avatar Mar 28 '15 12:03 rubennorte

Agree. This package needs UMD export

jasonkarns avatar Dec 11 '17 20:12 jasonkarns