Skip to content

Conversation

damienleroux
Copy link
Contributor

window can be defined and yet window.location can be undefined: both "window" and "window.location" must be defined to access to "protocol" information.

I encountered this problem where "window" was defined but not "window.location". This append when transpiling js file in a express-react-browserify env.

Regards

window can be defined and yet window.location can be undefined: both "window" and  "window.location" must be defined to access to "protocol" information
@damienleroux damienleroux changed the title Update host.js Update host.js => window.location is not defined Jan 20, 2016
@spalger
Copy link
Contributor

spalger commented Jan 20, 2016

@damienleroux thanks for the patch!

Please consider signing the CLA so that we can review this pull

@damienleroux
Copy link
Contributor Author

It is done; I signed it.

@damienleroux
Copy link
Contributor Author

Hi,

Could you confirm the CLA worked and complete the merge please?

Regards

@spalger
Copy link
Contributor

spalger commented Jan 26, 2016

LGTM

spalger added a commit that referenced this pull request Jan 26, 2016
Update host.js => window.location is not defined
@spalger spalger merged commit 010a8b1 into elastic:master Jan 26, 2016
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