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

Don't warn when style value is '0' #6677

Merged
merged 2 commits into from
May 27, 2016
Merged

Conversation

zpao
Copy link
Member

@zpao zpao commented May 2, 2016

This reverts #6458 and then implements the goal of that PR without affecting the output.

While I agree that #6458 is "safe", it's a subtle behavior change in the generated output and I think we shouldn't take it in the branch. In master we should make the change to stop appending px to all strings (not just '0').

This reverts commit 2548108, reversing
changes made to 09022b1.
@ghost
Copy link

ghost commented May 2, 2016

@zpao updated the pull request.

@gaearon gaearon added this to the 15.y.0 milestone May 21, 2016
@gaearon
Copy link
Collaborator

gaearon commented May 21, 2016

LGTM

@gaearon
Copy link
Collaborator

gaearon commented May 21, 2016

(I believe you’ll need #6458 when cherry-picking this though?)

@zpao zpao merged commit 5c6f9d3 into facebook:master May 27, 2016
@zpao
Copy link
Member Author

zpao commented May 27, 2016

(I believe you’ll need #6458 when cherry-picking this though?)

I'll special case this and cherry-pick just the 2nd commit here instead of landing and reverting.

@zpao zpao modified the milestones: 15.y.0, 15-next Jun 1, 2016
zpao added a commit to zpao/react that referenced this pull request Jun 8, 2016
Don't warn when style value is '0'
(cherry picked from commit 5c6f9d3)
zpao added a commit that referenced this pull request Jun 14, 2016
Don't warn when style value is '0'
(cherry picked from commit 5c6f9d3)
@zpao zpao modified the milestones: 15-next, 15.2.0 Jun 14, 2016
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.

3 participants