You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/arrays.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ At first, you might be surprised by this...
21
21
```javascript
22
22
var delta =jsondiffpatch.diff({ name:'tito' }, { name:'tito' });
23
23
24
-
assertSame(delta, {
25
-
_0: [{ name:'tito' }, 0, 0],
24
+
assertSame(delta, {
25
+
_0: [{ name:'tito' }, 0, 0],
26
26
0: [{ name:'tito' }]
27
27
});
28
-
// reads as: remove { name: 'tito' } at 0,
28
+
// reads as: remove { name: 'tito' } at 0,
29
29
// insert { name: 'tito' } at 0
30
30
```
31
31
@@ -85,4 +85,4 @@ For more details check [delta format documentation](deltas.md)
85
85
86
86
#### Html
87
87
88
-
On html you will see moves as fancy curved arrows (check [Live Demo](http://benjamine.github.com/JsonDiffPatch/demo/index.html) ), these are implemented using SVG elements and an embedded script tag, they will only show up [if your browser supports SVG](http://caniuse.com/svg)
88
+
On html you will see moves as fancy curved arrows (check [Live Demo](http://benjamine.github.com/jsondiffpatch/demo/index.html) ), these are implemented using SVG elements and an embedded script tag, they will only show up [if your browser supports SVG](http://caniuse.com/svg)
Copy file name to clipboardExpand all lines: docs/deltas.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This format was created with a balance between readability and low footprint in
9
9
- to represent changed parts, arrays and magic numbers are used to keep a low footprint (ie. you won't see verbosity like ```"type": "added")
10
10
- keep it pure JSON serializable
11
11
12
-
A great way to understand this format is using the "Annotated JSON" option in the [Live Demo](http://benjamine.github.com/JsonDiffPatch/demo/index.html), and try the different left/right examples, or edit left/right JSON to see the annotated delta update as your type.
12
+
A great way to understand this format is using the "Annotated JSON" option in the [Live Demo](http://benjamine.github.com/jsondiffpatch/demo/index.html), and try the different left/right examples, or edit left/right JSON to see the annotated delta update as your type.
13
13
14
14
Here's a complete reference of this format.
15
15
@@ -101,8 +101,8 @@ But if both strings are long enough, [a text diffing algorythm](https://code.goo
Copy file name to clipboardExpand all lines: docs/formatters.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Formatters
2
2
==========
3
3
4
-
Some formatters are included that let you convert a JSON delta into other formats, you can see some of these used in the [Live Demo](http://benjamine.github.com/JsonDiffPatch/demo/index.html)
4
+
Some formatters are included that let you convert a JSON delta into other formats, you can see some of these used in the [Live Demo](http://benjamine.github.com/jsondiffpatch/demo/index.html)
0 commit comments