Skip to content

Conversation

@toddself
Copy link

We're trying to use this library, but our app does server-side rendering. Since calling require on this library attempts to access the window object, this crashes node on the server-side.

Added the global library to allow for the use of the document object in node as well for server-side rendering.

@coveralls
Copy link

Coverage Status

Coverage decreased (-60.8%) to 9.036% when pulling 606a735 on scriptoLLC:use-global-document into f60dfd7 on Mango:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants