From dd0e00255622ab24ea9cf5d6da4b34f0a4c5388e Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 28 May 2021 16:53:17 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- diff2.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/diff2.js b/diff2.js index 8fc20e6..21df74c 100644 --- a/diff2.js +++ b/diff2.js @@ -94,6 +94,10 @@ module.HANDLERS = { }, // XXX do we need to treat array keys as a special case??? + // ...the best approach could be to simply: + // - prioretize handlers -- already done + // - skip repeating keys + // ...this could be done on the root handler level... // XXX need to optionally handle props... keys: { match: function(obj){