From 829d2c31d962bacf906d600fc8ab15c56c3ff298 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 25 Aug 2018 20:15:04 +0300 Subject: [PATCH] more doc tweaking... Signed-off-by: Alex A. Naanou --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 46da0bb..300cdf8 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,7 @@ var diff = Diff(Bill, Ted) Here's how different `Bill` and `Ted` really are (or how the *diff* looks like): ```javascript // log out the relevant part... -JSON.stringify(diff.diff, null, '\t') -``` -And the output is: -```json +//JSON.stringify(diff.diff, null, '\t') [ { "path": ["name"], @@ -125,12 +122,10 @@ diff.patch(Bill2) ``` -Since we applied all the changes to `Bill2`, now he looks just like `Ted`: +Since we applied *all* the changes to `Bill2`, now he looks just like `Ted`: ```javascript -JSON.stringify(Bill2, null, '\t') -``` -```json +//JSON.stringify(Bill2, null, '\t') { "name": "Ted", "age": 20, @@ -145,7 +140,7 @@ JSON.stringify(Bill2, null, '\t') ### Partial patching -Lets just *patch* `Bill`'s the skill level... +Lets just *patch* `Bill`'s skill level... ```javascript diff @@ -157,9 +152,7 @@ diff Now, `Bill` can also play guitar! ```javascript -JSON.stringify(Bill, null, '\t') -``` -```json +//JSON.stringify(Bill, null, '\t') { "name": "Bill", "age": 20,