##Usage Select a text and set it to left or right. Then press compare to compare left and right.
Note: This example uses localStorage. That means you can use select text and diff in other instances of a window. And it means that example does not work on ancient browsers.
Used library for diffing https://github.com/kpdecker/jsdiff.