Closed tusharmath closed 8 years ago
This could be replaced with:
})( typeof window !== 'undefined' ? window : this);
Will accept a pull-request :)
Just out of interest, why would you use fastdom in node?
@wilsonpage How about using — https://www.npmjs.com/package/window-or-global instead?
I am not technically using it, I just import a couple of modules which in turn import fastdom.