mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
some docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6292c6fe42
commit
9d0d1a9654
@ -974,8 +974,6 @@ module.CollectionTags = core.ImageGridFeatures.Feature({
|
|||||||
// NOTE: we do not need to explicitly load anything as .load()
|
// NOTE: we do not need to explicitly load anything as .load()
|
||||||
// will load everything we need and .collectionLoading(..)
|
// will load everything we need and .collectionLoading(..)
|
||||||
// will .sortTags() for us...
|
// will .sortTags() for us...
|
||||||
//
|
|
||||||
// XXX handle 'base' mode...
|
|
||||||
['json',
|
['json',
|
||||||
function(res, mode){
|
function(res, mode){
|
||||||
var c = this.collections
|
var c = this.collections
|
||||||
@ -1065,6 +1063,16 @@ var AutoTagCollectionsActions = actions.Actions({
|
|||||||
|
|
||||||
// XXX add UI...
|
// XXX add UI...
|
||||||
makeAutoTagCollection: ['- Collections/',
|
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){
|
function(title, tags){
|
||||||
tags = arguments.length > 2 ? [].slice.call(arguments) : tags
|
tags = arguments.length > 2 ? [].slice.call(arguments) : tags
|
||||||
tags = tags instanceof Array ? tags : [tags]
|
tags = tags instanceof Array ? tags : [tags]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user