From 9d0d1a9654c67b61ebe36ab096fabe81d2018bfa Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 3 Sep 2017 03:07:51 +0300 Subject: [PATCH] some docs... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/collections.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/features/collections.js b/ui (gen4)/features/collections.js index 4400fdce..5dbb1e73 100755 --- a/ui (gen4)/features/collections.js +++ b/ui (gen4)/features/collections.js @@ -974,8 +974,6 @@ module.CollectionTags = core.ImageGridFeatures.Feature({ // NOTE: we do not need to explicitly load anything as .load() // will load everything we need and .collectionLoading(..) // will .sortTags() for us... - // - // XXX handle 'base' mode... ['json', function(res, mode){ var c = this.collections @@ -1065,6 +1063,16 @@ var AutoTagCollectionsActions = actions.Actions({ // XXX add UI... makeAutoTagCollection: ['- Collections/', + core.doc`Make tag auto-collection... + + Make a tag auto-collection... + .makeAutoTagCollection(title, tag) + .makeAutoTagCollection(title, tag, tag, ..) + .makeAutoTagCollection(title, [tag, tag, ..]) + -> this + + NOTE: at least one tag must be supplied... + `, function(title, tags){ tags = arguments.length > 2 ? [].slice.call(arguments) : tags tags = tags instanceof Array ? tags : [tags]