Hey,
Are window and document in the factory code realy needed?
If I remove them, the lib still works and my webpack build do not throw error anymore because of the none found modules "window" and "document".
I guess it could be removed. I added it at the time because of some "best practice" regarding testing with phantomjs and so on. But maybe things have changed again.
Hey, Are window and document in the factory code realy needed? If I remove them, the lib still works and my webpack build do not throw error anymore because of the none found modules "window" and "document".
Thx