From d3c2832f8f815dc704ea28df8c31ac4bfd3c22a9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 14 Sep 2022 03:19:44 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- pwiki/store/base.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pwiki/store/base.js b/pwiki/store/base.js index e0a406c..0dc7fbd 100755 --- a/pwiki/store/base.js +++ b/pwiki/store/base.js @@ -360,7 +360,6 @@ module.BaseStore = { // skip metadata paths... if(p.includes('*')){ return res } - // XXX HIDE var m = [...p.matchAll(pattern)] m.length > 0 && (!all ? @@ -368,16 +367,10 @@ module.BaseStore = { m.reduce(function(res, m){ return res === false ? res - // XXX if we are using a partial pattern this is wrong... - // i.e. something like 'x*' (TEST) : !/(^\.|[\\\/]\.)/.test(m[1]) }, true) : true) && (m = m[0]) - /*/ - var m = p.match(pattern) - m - //*/ && (!strict || m[0] == p) && res.add(