Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SSR #512

Closed
wants to merge 1 commit into from
Closed

Add support for SSR #512

wants to merge 1 commit into from

Conversation

amoshydra
Copy link

Dynamically obtain window / global reference. This will allow module to work in both node and browser context.

rootVariable retrieve method inspired from: https://github.com/purposeindustries/window-or-global/blob/322abc7/lib/index.js

Dynamically obtain window / global reference. This will allow module to work in both node and browser context.

rootVariable retrieve method inspired from: https://github.com/purposeindustries/window-or-global/blob/322abc7/lib/index.js
@akaNightmare
Copy link

Can someone merge it? NuxtJS does not work with this lib

ratiw added a commit that referenced this pull request Nov 11, 2018
@ratiw
Copy link
Owner

ratiw commented Nov 11, 2018

merged to v2.0.0-beta.4. Thanks @amoshydra

@ratiw ratiw closed this Nov 11, 2018
@amoshydra amoshydra deleted the patch-1 branch November 13, 2018 03:28
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.

None yet

3 participants