From fd3f0dc8a81f215490e7430b10383e5e86f13a06 Mon Sep 17 00:00:00 2001 From: Francisco Dias Date: Mon, 9 Nov 2015 18:18:05 -0500 Subject: [PATCH] add in display selector --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ca00a744..286e0f67 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,7 @@ var one = 'beep boop'; var other = 'beep boob blah'; var diff = JsDiff.diffChars(one, other); +var display = document.getElementById('display'); diff.forEach(function(part){ // green for additions, red for deletions