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
8bcf8a2930
commit
78136895a0
2
diff2.js
2
diff2.js
@ -730,6 +730,8 @@ function(A, B, cmp){
|
|||||||
return gaps }, []) }
|
return gaps }, []) }
|
||||||
|
|
||||||
|
|
||||||
|
// XXX if two sub-trees are different, to we treat them as a big set of
|
||||||
|
// atomic changes or replace X with Y???
|
||||||
// XXX at this point array indexes are treated as changes, i.e. if we
|
// XXX at this point array indexes are treated as changes, i.e. if we
|
||||||
// insert an item into an array, this effectively changes all other
|
// insert an item into an array, this effectively changes all other
|
||||||
// items (shifting their indexes by the number of items inserted)...
|
// items (shifting their indexes by the number of items inserted)...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user