jamesshore / big-object-diff

Visualize the differences between large JavaScript objects.
3 stars 0 forks source link

Wish: complete example #1

Open markstos opened 9 years ago

markstos commented 9 years ago

Thanks for sharing your object comparison tool.

The docs would be enhanced if the example showed the example /input/ as well as the /output/ without both, it's not really clear what's going on.

The docs say a string is returned, but the example shows a JavaScript object with comments. It's not clear if the comment are part of a string or if the formatted string returned happens to exactly resemble a JavaScript object, which you've added comments to for the purpose of the example.

jamesshore commented 9 years ago

Thanks for the feedback. I'm not sure when I'll get back to this project, but I'll keep this in mind for when I do.

The text shown in the example is the string returned by the tool.

markstos commented 9 years ago

Thanks for the reply. I've since found the objectDiff.js project and unfunk-diff which provide the kind visual object-diffing I was looking for in both HTML and colorized-console formats.