Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-12-11 01:12:15 +03:00
parent 23aeaffe5d
commit 11490cc358

View File

@ -433,6 +433,17 @@ var TagsPrototype = {
get length(){ get length(){
return this.values().length }, return this.values().length },
// XXX one way to play with this is to add a special tag to set/path
// to make it persistent...
// Example:
// .tag('abc', ...) -> 'abc' is a normal tag...
//
// .tag('persistent:abc', ...) -> 'abc' is persistent...
// .tag('persistent/abc', ...) -> 'abc' is persistent...
//
// We would need "virtual" tags for this, i.e. tags that are
// not actually added to the index but are used for system
// stuff...
// XXX need a way to add/remove these... // XXX need a way to add/remove these...
persistent: function(){ persistent: function(){
// XXX // XXX