wilsonpage / fastdom

Eliminates layout thrashing by batching DOM measurement and mutation tasks
6.83k stars 240 forks source link

Bind to whichever global context is available #78

Closed kasperisager closed 8 years ago

kasperisager commented 8 years ago

This lets fastdom be used in environments where no window global is available. My own use-case is integration testing modules that rely on fastdom in node using jsdom.

wilsonpage commented 8 years ago

Thanks! I'll stamp a version tomorrow.

dollhause commented 8 years ago

@wilsonpage any chance you could push a new version to npm. The fix for this isn't up there yet. Thanks!

wilsonpage commented 8 years ago

Done, sorry about that.