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 · Tags: diff, javascript, algorithm, papers ·



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.


JavaScript Books

Secrets of the JavaScript Ninja

JavaScript Secrets

Secret techniques of top JavaScript programmers.

Pro JavaScript Techniques

Pro JavaScript

The best techniques for professional JavaScript. Published by Apress.

Micro Updates

John Resig Twitter Updates

@jeresig

Infrequent, short, updates and links.

JavaScript Jobs



Hosting provided by: Ruby Hosting by Engine Yard