mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 18:40:09 +00:00
notes and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
69ef73a41b
commit
fceef4c31c
7
diff2.js
7
diff2.js
@ -29,6 +29,10 @@ var types = require('ig-types')
|
|||||||
// - build object via spec - DONE
|
// - build object via spec - DONE
|
||||||
// - update object via spec
|
// - update object via spec
|
||||||
// - contextual updates
|
// - contextual updates
|
||||||
|
// - forward
|
||||||
|
// match context + pre state
|
||||||
|
// - reverse
|
||||||
|
// match context + post state
|
||||||
// - subtract specs (diff)
|
// - subtract specs (diff)
|
||||||
// - full
|
// - full
|
||||||
// - relaxed -- ignore item order
|
// - relaxed -- ignore item order
|
||||||
@ -879,8 +883,7 @@ function*(A, B, options={}){
|
|||||||
return ['+', ...change] })
|
return ['+', ...change] })
|
||||||
// XXX add post-context...
|
// XXX add post-context...
|
||||||
// ...if changes are adjacent, then skip context...
|
// ...if changes are adjacent, then skip context...
|
||||||
yield ['=']
|
yield ['='] }) }
|
||||||
}) }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user