mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 18:40:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bd6143b703
commit
a57cf2d53d
9
diff2.js
9
diff2.js
@ -805,10 +805,13 @@ function(A, B, cmp){
|
|||||||
// XXX if two sub-trees are different, do we treat them as a big set of
|
// XXX if two sub-trees are different, do we treat them as a big set of
|
||||||
// atomic changes or replace X with Y???
|
// atomic changes or replace X with Y???
|
||||||
// XXX might be a good idea to strip out (optionally) differences within
|
// XXX might be a good idea to strip out (optionally) differences within
|
||||||
// a container that differ only in container path, i.e.:
|
// a container when the container path changed but nothing else, in
|
||||||
// /a/b/:4/x 123
|
// other words, skip items that did not change locally, i.e.:
|
||||||
|
// /a/b/:4 {type: 'Object'}
|
||||||
|
// /a/b/:4/x 123
|
||||||
// and
|
// and
|
||||||
// /a/b/:1/x 123
|
// /a/b/:1 {type: 'Object'}
|
||||||
|
// /a/b/:1/x 123
|
||||||
// are not different...
|
// are not different...
|
||||||
// example:
|
// example:
|
||||||
// // this will list that every element within the nested array
|
// // this will list that every element within the nested array
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user