Skip to content

Use correct location when running LinkedValueUtils proptype checks#4022

Merged
zpao merged 1 commit intofacebook:masterfrom
zpao:fix-undefined-location
Jun 4, 2015
Merged

Use correct location when running LinkedValueUtils proptype checks#4022
zpao merged 1 commit intofacebook:masterfrom
zpao:fix-undefined-location

Conversation

@zpao
Copy link
Copy Markdown
Member

@zpao zpao commented Jun 3, 2015

@mridgway
Copy link
Copy Markdown
Contributor

mridgway commented Jun 4, 2015

👍

@sophiebits
Copy link
Copy Markdown
Collaborator

…how on earth did this pass lint.

@zpao
Copy link
Copy Markdown
Member Author

zpao commented Jun 4, 2015

Because https://github.com/facebook/react/blob/master/.eslintrc#L8 presumably assumes browser globals are defined, which is also why this only throws when run on the server.

zpao added a commit that referenced this pull request Jun 4, 2015
Use correct location when running LinkedValueUtils proptype checks
@zpao zpao merged commit d3db430 into facebook:master Jun 4, 2015
@zpao zpao deleted the fix-undefined-location branch June 16, 2015 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants