UNPKG

500 BHTMLView Raw
1<yellow>--- test/file1.js removed</yellow>
2<yellow>+++ test/file2.js added</yellow>
3<magenta>@@ -1,9 +1,8 @@</magenta>
4 var foo = "bar";
5
6 // some comment
7<green>+function dolor(){ amet()</green>
8<red>-function dolor(){</red>
9<red>- amet();</red>
10 }
11
12 // no changes until line 19
13 var a = function() {
14<magenta>@@ -15,7 +14,7 @@</magenta>
15 thisWontShowOnDiff();
16 thisShouldBeFirstLineOfLine19Diff();
17 // yeap this will show too
18
19<green>+dolor ( a);</green>
20<red>-dolor(a);</red>
21 amet();
22 // EOF