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

Ask for window variable in order to determine if you are in the client side or server side. #2

Open
santiago-villa opened this issue Nov 28, 2013 · 2 comments

Comments

@santiago-villa
Copy link

No description provided.

@erwaller
Copy link

erwaller commented Dec 2, 2013

Could you clarify a bit? Are you trying to use the client library on the server within node.js?

@santiago-villa
Copy link
Author

What I mean is to have a variable define inside sixpack js in order to determine if we are executing client-side javascript or server-side javascript. Also you don't have to determine if we are in server or client side just using require definition, would be better to use window definition. I am facing all this issues because I am trying to integrate sixpack with airbnb/rendr project.

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

No branches or pull requests

2 participants