Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-12-27 04:27:57 +03:00
parent 5aedf7ac30
commit 345ace8714

View File

@ -589,8 +589,10 @@ var BaseTagsPrototype = {
// NOTE: when matching a root/base tag this matches iff b is root/base // NOTE: when matching a root/base tag this matches iff b is root/base
// this is equivalent to .directMatch(..) // this is equivalent to .directMatch(..)
// //
// XXX REVISE... // XXX REVISE -- is this too complicated???
// XXX this will not build a tree if given a list in b... is this correct??? // XXX this will not build a tree if given a list in b... is this correct???
// XXX Q: should .match(a) return all tags that can reach a (current) or
// all tags reachable from a???
match: function(a, b, cmp){ match: function(a, b, cmp){
var that = this var that = this
var PP = this.PATH_SEPARATOR_PATTERN var PP = this.PATH_SEPARATOR_PATTERN