mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-29 02:50:10 +00:00
reorganization + typo fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a051aab1e7
commit
89f95bb6f1
36
README.md
36
README.md
@ -3,9 +3,9 @@
|
|||||||
XXX Intro
|
XXX Intro
|
||||||
|
|
||||||
- [Object diff](#object-diff)
|
- [Object diff](#object-diff)
|
||||||
|
- [Introduction](#introduction)
|
||||||
- [Motivation](#motivation)
|
- [Motivation](#motivation)
|
||||||
- [Goals / Features](#goals--features)
|
- [Goals / Features](#goals--features)
|
||||||
- [Introduction](#introduction)
|
|
||||||
- [Installation and loading](#installation-and-loading)
|
- [Installation and loading](#installation-and-loading)
|
||||||
- [Diff](#diff)
|
- [Diff](#diff)
|
||||||
- [Diff class API](#diff-class-api)
|
- [Diff class API](#diff-class-api)
|
||||||
@ -25,22 +25,6 @@ XXX Intro
|
|||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
|
||||||
|
|
||||||
## Motivation
|
|
||||||
|
|
||||||
XXX
|
|
||||||
|
|
||||||
### Goals / Features
|
|
||||||
- Full JSON *diff* support
|
|
||||||
- Support for JavaScript objects without restrictions
|
|
||||||
- ~~Optional attribute order support~~ (not done yet)
|
|
||||||
- ~~Support extended Javascript types: Map, Set, ...etc.~~ (feasibility testing)
|
|
||||||
- *Text diff* support
|
|
||||||
- Configurable and extensible implementation
|
|
||||||
- As simple as possible
|
|
||||||
|
|
||||||
XXX alternatives
|
|
||||||
|
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
Let's start with a couple of objects:
|
Let's start with a couple of objects:
|
||||||
@ -128,7 +112,7 @@ var PERSON = {
|
|||||||
name: STRING,
|
name: STRING,
|
||||||
age: NUMBER,
|
age: NUMBER,
|
||||||
hair: OR(
|
hair: OR(
|
||||||
'blind',
|
'blond',
|
||||||
'blonde',
|
'blonde',
|
||||||
'black',
|
'black',
|
||||||
'red',
|
'red',
|
||||||
@ -145,6 +129,22 @@ cmp(Bill, PERSON) // -> true
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Motivation
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
### Goals / Features
|
||||||
|
- Full JSON *diff* support
|
||||||
|
- Support for JavaScript objects without restrictions
|
||||||
|
- ~~Optional attribute order support~~ (not done yet)
|
||||||
|
- ~~Support extended Javascript types: Map, Set, ...etc.~~ (feasibility testing)
|
||||||
|
- *Text diff* support
|
||||||
|
- Configurable and extensible implementation
|
||||||
|
- As simple as possible
|
||||||
|
|
||||||
|
XXX alternatives
|
||||||
|
|
||||||
|
|
||||||
## Installation and loading
|
## Installation and loading
|
||||||
|
|
||||||
Install the package:
|
Install the package:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user