From 5437d8f0deb0bc89b0313d81a87c70260d735fd1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 26 Nov 2018 22:23:19 +0300 Subject: [PATCH] starting work on .query(..)... Signed-off-by: Alex A. Naanou --- ui (gen4)/imagegrid/tags.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ui (gen4)/imagegrid/tags.js b/ui (gen4)/imagegrid/tags.js index 0086560d..768aeda2 100755 --- a/ui (gen4)/imagegrid/tags.js +++ b/ui (gen4)/imagegrid/tags.js @@ -412,6 +412,19 @@ var TagsPrototype = { // ['or', 'a', 'b'], // ['not', 'z']]) query: function(){ + // XXX each of the arguments can be: + // - tag -> resolves to list of values + // - query -> resolves to list of values + // - list of values + var ns = { + and: function(...e){ + }, + or: function(...e){ + }, + not: function(...e){ + }, + } + // XXX },