File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ var JsonDiffReact = function (_Component) {
6363 objectHash : objectHash ,
6464 arrays : {
6565 // default true, detect items moved inside the array (otherwise they will be registered as remove+add)
66- detectMove : true ,
66+ detectMove : false ,
6767 // default false, the value of items moved is not included in deltas
68- includeValueOnMove : false
68+ includeValueOnMove : true
6969 }
7070 } ) . diff ( left , right ) ;
7171 var html = annotated ? formatters . annotated . format ( delta ) : formatters . html . format ( delta , left ) ;
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ class JsonDiffReact extends Component {
3232 objectHash,
3333 arrays : {
3434 // default true, detect items moved inside the array (otherwise they will be registered as remove+add)
35- detectMove : true ,
35+ detectMove : false ,
3636 // default false, the value of items moved is not included in deltas
37- includeValueOnMove : false ,
37+ includeValueOnMove : true ,
3838 } ,
3939 } ) . diff ( left , right ) ;
4040 const html = annotated
You can’t perform that action at this time.
0 commit comments