From b3a524d1a94b460e65e8e6eef2fad0e6b4f5858c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 18 Aug 2018 14:04:29 +0300 Subject: [PATCH] intro structore almost done... Signed-off-by: Alex A. Naanou --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf836a4..fd69756 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ - [Introduction](#introduction) - [Seeing the difference (*diff*)](#seeing-the-difference-diff) - [Applying changes (*patch*)](#applying-changes-patch) + - [Partial patching](#partial-patching) + - [Checking](#checking) - [Patterns](#patterns) - [Motivation](#motivation) - [Goals / Features](#goals--features) @@ -32,8 +34,6 @@ Let's start with a couple of objects, similar but not quite: ```javascript -var Diff = require('object-diff').Diff - var Bill = { name: 'Bill', age: 20, @@ -59,6 +59,8 @@ var Ted = { ### Seeing the difference (*diff*) ```javascript +var Diff = require('object-diff').Diff + var diff = Diff(Bill, Ted) // and log out the relevant part... @@ -132,11 +134,15 @@ Since we applied all the changes to `Bill2`, now he looks just like `Ted`: } ``` +### Partial patching XXX partial patch... -XXX check... XXX modify the diff -- teach Ted guitar... +### Checking + +XXX + ### Patterns And for further checking we can create a *pattern*: