mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-30 11:30:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bd6143b703
commit
a57cf2d53d
5
diff2.js
5
diff2.js
@ -805,9 +805,12 @@ 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
|
||||||
|
// other words, skip items that did not change locally, i.e.:
|
||||||
|
// /a/b/:4 {type: 'Object'}
|
||||||
// /a/b/:4/x 123
|
// /a/b/:4/x 123
|
||||||
// and
|
// and
|
||||||
|
// /a/b/:1 {type: 'Object'}
|
||||||
// /a/b/:1/x 123
|
// /a/b/:1/x 123
|
||||||
// are not different...
|
// are not different...
|
||||||
// example:
|
// example:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user