minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-04 06:13:38 +03:00
parent fc3d0b849d
commit cae17a0986
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ig-types",
"version": "5.0.37",
"version": "5.0.38",
"description": "Generic JavaScript types and type extensions...",
"main": "main.js",
"scripts": {

View File

@ -444,8 +444,8 @@ object.Constructor('Queue', Array, {
return this },
clear: function(){
this.splice(0, this.length)
this.trigger('queueEmpty')
if(this.state == 'running'){
this.trigger('queueEmpty')
this.trigger('stop') } },
@ -633,7 +633,8 @@ object.Constructor('TaskManager', Array, events.EventMixin('flat', {
var titles = new Set([...arguments])
return this
.filter(function(task){
return titles.has(task.title) }) },
return titles.has(task.title)
|| titles.has(task.name) }) },
// actions...
//