Reputation: 26089
I have two texts and would like to show differences between them in way that WinMerge or diff from TortoiseSVN works. Do you know any JS library that does this?
Upvotes: 1
Views: 573
Reputation: 1115
Pretty Diff is an algorithmic diff tool written in JavaScript.
Upvotes: 2
Reputation: 664620
There's http://ejohn.org/blog/javascript-diff-algorithm-2/. Also, there are some userscripts at Wikipedia which try to improve MediaWikis native diff engine, the most familiar might be Cacycles (WikiEd-) Diff.
Upvotes: 1