mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 10:30: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
|
||||
// - update object via spec
|
||||
// - contextual updates
|
||||
// - forward
|
||||
// match context + pre state
|
||||
// - reverse
|
||||
// match context + post state
|
||||
// - subtract specs (diff)
|
||||
// - full
|
||||
// - relaxed -- ignore item order
|
||||
@ -879,8 +883,7 @@ function*(A, B, options={}){
|
||||
return ['+', ...change] })
|
||||
// XXX add post-context...
|
||||
// ...if changes are adjacent, then skip context...
|
||||
yield ['=']
|
||||
}) }
|
||||
yield ['='] }) }
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user