Update screenshot and ensure sample files match

This commit is contained in:
Wilfred Hughes 2023-01-22 20:19:36 -08:00
parent edb51ece86
commit 9ce60140ce
5 changed files with 13 additions and 8 deletions

View File

@ -25,7 +25,8 @@ In this JavaScript example, we can see:
whitespace. whitespace.
(2) Difftastic understands which lines should be aligned. It's aligned (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 (3) Difftastic understands that line-wrapping isn't
meaningful. `"eric"` is now on a new line, but it hasn't changed. meaningful. `"eric"` is now on a new line, but it hasn't changed.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -89,7 +89,7 @@ sample_files/javascript_before.js sample_files/javascript_after.js
51ffab103bd475c322b7aa42f35c094e - 51ffab103bd475c322b7aa42f35c094e -
sample_files/javascript_simple_before.js sample_files/javascript_simple_after.js sample_files/javascript_simple_before.js sample_files/javascript_simple_after.js
53725de32eabe5ff5a9230bd30cae28a - 3357d9d47a5e7efb3c7677745993ea2b -
sample_files/json_before.json sample_files/json_after.json sample_files/json_before.json sample_files/json_after.json
bae479fb04e15baf9460c5274c77963b - bae479fb04e15baf9460c5274c77963b -

View File

@ -1,9 +1,11 @@
// hello // hello
if (true) { if (true) {
foo(); foo();
bar(1); bar(2);
baz(); baz();
} }
var people = ["john", "harry", "dick", "yvonne", var people = [
"archibald", "jenny", "alexandra"]; "john", "harry", "dick", "yvonne",
"eric", "jenny", "alexandra",
];

View File

@ -1,7 +1,9 @@
// hello // hello
foo(); foo();
bar(); bar(1);
baz(); baz();
var people = ["john", "harry", "dick", "archibald", var people = [
"jenny", "alexandra"]; "john", "harry", "dick", "eric",
"jenny", "alexandra",
];