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

Fix fallbacks support in jss-plugin-vendor-prefixer #1198

Merged
merged 3 commits into from Sep 22, 2019
Merged

Conversation

kof
Copy link
Member

@kof kof commented Sep 22, 2019

fixes #1177

@kof kof requested a review from HenriBeck as a code owner September 22, 2019 18:07
for (const prop in style) {
const value = style[prop]

if (prop === 'fallbacks' && Array.isArray(value)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also handle fallbacks which are just an object?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding a test

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a test, it already works.

@kof kof requested a review from HenriBeck September 22, 2019 18:25
@kof kof merged commit ef0b2c7 into master Sep 22, 2019
@iamstarkov iamstarkov deleted the bugfix/1177/fallbacks branch October 4, 2019 09:42
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.

Multiple fallbacks for the same property name not working
2 participants