File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,7 @@ var JsonDiffReact = function (_Component) {
6060 objectHash = _props . objectHash ;
6161
6262 var delta = Jsondiffpatch . create ( {
63- objectHash : objectHash ,
64- arrays : {
65- // default true, detect items moved inside the array (otherwise they will be registered as remove+add)
66- detectMove : false ,
67- // default false, the value of items moved is not included in deltas
68- includeValueOnMove : true
69- }
63+ objectHash : objectHash
7064 } ) . diff ( left , right ) ;
7165 var html = annotated ? formatters . annotated . format ( delta ) : formatters . html . format ( delta , left ) ;
7266 show ? formatters . html . showUnchanged ( ) : formatters . html . hideUnchanged ( ) ;
Original file line number Diff line number Diff line change @@ -30,12 +30,6 @@ class JsonDiffReact extends Component {
3030 } = this . props ;
3131 const delta = Jsondiffpatch . create ( {
3232 objectHash,
33- arrays : {
34- // default true, detect items moved inside the array (otherwise they will be registered as remove+add)
35- detectMove : false ,
36- // default false, the value of items moved is not included in deltas
37- includeValueOnMove : true ,
38- } ,
3933 } ) . diff ( left , right ) ;
4034 const html = annotated
4135 ? formatters . annotated . format ( delta )
You can’t perform that action at this time.
0 commit comments