cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-07-25 01:53:39 +03:00
parent a3f4454222
commit cc9d4995b1

View File

@ -1005,8 +1005,6 @@ function(event, {handler, action, default_item, filter, options={}, getter='sear
var resolved =
// event handler...
item instanceof Function ?
// XXX where do we handle this...
//this.on(event, item)
item
// array of queries...
: item instanceof Array ?
@ -1024,6 +1022,7 @@ function(event, {handler, action, default_item, filter, options={}, getter='sear
// item is null (explicitly) or other...
: []
return (skipUnresolved
// handler registration...
&& !(resolved instanceof Function)
&& resolved.length == 0
&& item != null) ?