Javascript Diff Algorithm

Last week I was busy working on an Animated Wikipedia extension, to which one of the requirements was to add a visual ‘Diff’ from one page to another. So, I did some digging, read a paper, and implemented the algorithm in Javascript.

So, if you’re interested in showing a visual diff, comparing two blocks of text or html, check out this project of mine: Javascript Diff Algorithm

Posted: June 24th, 2005


Subscribe for email updates

Comments are closed.
Comments are automatically turned off two weeks after the original post. If you have a question concerning the content of this post, please feel free to contact me.


Secrets of the JavaScript Ninja

Secrets of the JS Ninja

Secret techniques of top JavaScript programmers. Published by Manning.

John Resig Twitter Updates

@jeresig / Mastodon

Infrequent, short, updates and links.