From cb16f000f7209250b009ec98d3334371ddcc8f06 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 23 Aug 2018 16:40:59 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- diff.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diff.js b/diff.js index dfd4abd..e57a121 100644 --- a/diff.js +++ b/diff.js @@ -2184,7 +2184,8 @@ var DiffPrototype = { // XXX Q: should we ignore the last element of the path??? filter = function(change, i, lst){ - return cmp(path, change.path) } + //return cmp(path, change.path) } + return test(change.path) } } // XXX should we add filter to options or at least set a .filtered attr???