Skip to content

pass thru of arrays #21

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

Closed
michaelreflective opened this issue Sep 16, 2017 · 4 comments
Closed

pass thru of arrays #21

michaelreflective opened this issue Sep 16, 2017 · 4 comments

Comments

@michaelreflective
Copy link

michaelreflective commented Sep 16, 2017

Hi

Thank you for a nice diff library. Our need is simply to get the new/updated array passed back as the diff. Having options to diff(.., {returnArray:true}) would be nice.

The code:
in diff/index.js justafter line 55
if (Array.isArray(r)) {
return r;
}

Regards
Michael

@mattphillips
Copy link
Owner

Hey @michaelreflective thanks for raising an issue.

I'm not quite sure I understand what you're asking for, would you mind adding a code example?

@michaelreflective
Copy link
Author

michaelreflective commented Sep 19, 2017 via email

@mattphillips
Copy link
Owner

Hey sorry @michaelreflective for not coming back to you sooner! I'm still not sure if I understand the issue you are having. Would you mind taking a look at #23 to see if it is the same issue and if my comments are relevant to your use case? Thanks!

@mattphillips
Copy link
Owner

Closing for now. Feel free to reopen if you are still having issues

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

No branches or pull requests

2 participants