Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Prevent mutation #8

Merged
merged 2 commits into from Oct 3, 2015
Merged

Prevent mutation #8

merged 2 commits into from Oct 3, 2015

Conversation

Olical
Copy link
Owner

@Olical Olical commented Oct 3, 2015

This pull request fixes issue #7 by always cloning the props (including the style object which wasn't cloned before) and always removing the props.style.* methods from the object instead of just when you're missing a key.

Olical added a commit that referenced this pull request Oct 3, 2015
@Olical Olical merged commit 6869e59 into master Oct 3, 2015
@Olical Olical deleted the prevent-mutation branch October 3, 2015 08:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant