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

Simulation plugin #292

Merged
merged 2 commits into from
Jun 10, 2017
Merged

Simulation plugin #292

merged 2 commits into from
Jun 10, 2017

Conversation

robinweser
Copy link
Owner

No description provided.

@robinweser robinweser requested a review from tajo June 9, 2017 07:16
@robinweser robinweser mentioned this pull request Jun 9, 2017
@tajo
Copy link
Collaborator

tajo commented Jun 9, 2017

Tests are failing. 😮

@robinweser
Copy link
Owner Author

Oh yeah, fixed that. Was not even related to the PR :D

).toEqual({
width: 20,
backgroundColor: 'blue',
color: 'blue'
Copy link
Collaborator

@tajo tajo Jun 10, 2017

Choose a reason for hiding this comment

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

Why is color: blue winning over color: red? Does the order of props in const style matter? If so, it's kinda weird since object doesn't enforce order.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In that case, I would just delete this test, since it's not necessarily deterministic.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yeah, right now it simply iterates all object values and resolves them straight in order. Could later improve that to first resolve medias, then pseudos, etc.

@robinweser robinweser merged commit 6a1de4f into master Jun 10, 2017
@robinweser robinweser deleted the 261-plugin-simulate branch June 10, 2017 08:55
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