Update screenshot and ensure sample files match
This commit is contained in:
parent
edb51ece86
commit
9ce60140ce
|
@ -25,7 +25,8 @@ In this JavaScript example, we can see:
|
|||
whitespace.
|
||||
|
||||
(2) Difftastic understands which lines should be aligned. It's aligned
|
||||
`bar()` on the left with `bar(1)` on the right, despite their changes.
|
||||
`bar(1)` on the left with `bar(2)` on the right, even though the
|
||||
textual content isn't identical.
|
||||
|
||||
(3) Difftastic understands that line-wrapping isn't
|
||||
meaningful. `"eric"` is now on a new line, but it hasn't changed.
|
||||
|
|
BIN
img/js.png
BIN
img/js.png
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 32 KiB |
|
@ -89,7 +89,7 @@ sample_files/javascript_before.js sample_files/javascript_after.js
|
|||
51ffab103bd475c322b7aa42f35c094e -
|
||||
|
||||
sample_files/javascript_simple_before.js sample_files/javascript_simple_after.js
|
||||
53725de32eabe5ff5a9230bd30cae28a -
|
||||
3357d9d47a5e7efb3c7677745993ea2b -
|
||||
|
||||
sample_files/json_before.json sample_files/json_after.json
|
||||
bae479fb04e15baf9460c5274c77963b -
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
// hello
|
||||
if (true) {
|
||||
foo();
|
||||
bar(1);
|
||||
bar(2);
|
||||
baz();
|
||||
}
|
||||
|
||||
var people = ["john", "harry", "dick", "yvonne",
|
||||
"archibald", "jenny", "alexandra"];
|
||||
var people = [
|
||||
"john", "harry", "dick", "yvonne",
|
||||
"eric", "jenny", "alexandra",
|
||||
];
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// hello
|
||||
foo();
|
||||
bar();
|
||||
bar(1);
|
||||
baz();
|
||||
|
||||
var people = ["john", "harry", "dick", "archibald",
|
||||
"jenny", "alexandra"];
|
||||
var people = [
|
||||
"john", "harry", "dick", "eric",
|
||||
"jenny", "alexandra",
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue