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 for issue #35 -- apply diffs for arrays #43

Merged
merged 1 commit into from
Oct 18, 2015

Conversation

jolyndenning
Copy link

This is a fix for Issue #35. The problem was that the applyChange function was assuming that the change object would have a path associated with it. However, that is not the case when the top-level objects that are being compared are arrays.

The code in this pull request is minimal and is designed so that there is no way it alters existing behavior in any way except for fixing the bug.

All tests pass.

flitbit pushed a commit that referenced this pull request Oct 18, 2015
Fix for issue #35 -- apply diffs for arrays
@flitbit flitbit merged commit 9baaa46 into flitbit:master Oct 18, 2015
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