working on handling special keys...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-05-23 23:44:28 +03:00
parent c5601945c4
commit 1369934117

View File

@ -73,8 +73,15 @@ module.HANDLERS = {
return [[k], v] }), ] }, return [[k], v] }), ] },
}, },
// XXX do we need to treat array keys as a special case???
// XXX need to optionally treat special attributes... // 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: { keys: {
match: function(obj){ match: function(obj){
return typeof(obj) == 'object' }, return typeof(obj) == 'object' },