mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-28 18:40:09 +00:00
working on handling special keys...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c5601945c4
commit
1369934117
9
diff2.js
9
diff2.js
@ -73,8 +73,15 @@ module.HANDLERS = {
|
||||
return [[k], v] }), ] },
|
||||
},
|
||||
|
||||
// XXX do we need to treat array keys as a special case???
|
||||
// XXX need to optionally treat special attributes...
|
||||
specialKeys: {
|
||||
match: function(obj){
|
||||
return false },
|
||||
handle: function(obj){
|
||||
// XXX
|
||||
},
|
||||
},
|
||||
// XXX do we need to treat array keys as a special case???
|
||||
keys: {
|
||||
match: function(obj){
|
||||
return typeof(obj) == 'object' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user