Skip to content

Commit

Permalink
Fix code sample for customDiffPatch > detectMove (#366)
Browse files Browse the repository at this point in the history
* Fix code sample for customDiffPatch > detectMove

* Format

---------

Co-authored-by: Nathan Bierema <[email protected]>
  • Loading branch information
sputh and Methuselah96 authored Apr 23, 2024
1 parent 469f6a7 commit bb534c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ This introduces a few benefits:
moves are detected by default, you can turn move detection off with:

```javascript
var customDiffPatch = jsondiffpatch.create({
arrays: {
detectMove: false
}
};
var customDiffPatch = jsondiffpatch.create({
arrays: {
detectMove: false,
},
});
```

### Representation
Expand Down

0 comments on commit bb534c1

Please sign in to comment.