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

JsDiff.diffArrays to compare arrays #146

Merged
merged 4 commits into from
Nov 27, 2016
Merged

Conversation

wvanderdeijl
Copy link
Contributor

adds support for comparing two arrays and finding the difference. This comes in very handy in my current project.
If you feel this is beyond the boundaries of the primary focus of jsdiff which is text comparison, I could trim the pull request to just having the .join method move to the base class so we can create the diffArrays in our own project. Having the .join('') in several methods of base prevents this.

@kpdecker
Copy link
Owner

kpdecker commented Nov 7, 2016

Sorry for the delay. Generally looks good. Going to try to make some time soon to land this and get a new release out.

@kpdecker kpdecker merged commit e4ee3bd into kpdecker:master Nov 27, 2016
@kpdecker
Copy link
Owner

Released in 3.1.0

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