mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 18:40:09 +00:00
more notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
191b5ae174
commit
904a911bb1
4
diff2.js
4
diff2.js
@ -136,6 +136,7 @@ function(obj, handlers=module.HANDLERS){
|
||||
|
||||
// XXX need a way to index the path...
|
||||
// ...and to filter paths by pattern...
|
||||
// XXX need to generate object UIDs for use in paths etc...
|
||||
var handle =
|
||||
module.handle =
|
||||
function*(obj, path=[], options={}){
|
||||
@ -236,7 +237,8 @@ var o = {
|
||||
},
|
||||
|
||||
array_with_attrs: Object.assign(
|
||||
[1, 2, 3],
|
||||
// XXX should empty slots be marked in arrays???
|
||||
[1, 2, 3, , 5, 6],
|
||||
{
|
||||
a: "some value",
|
||||
// will overwrite 2...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user