mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a3f4454222
commit
cc9d4995b1
@ -1005,8 +1005,6 @@ function(event, {handler, action, default_item, filter, options={}, getter='sear
|
|||||||
var resolved =
|
var resolved =
|
||||||
// event handler...
|
// event handler...
|
||||||
item instanceof Function ?
|
item instanceof Function ?
|
||||||
// XXX where do we handle this...
|
|
||||||
//this.on(event, item)
|
|
||||||
item
|
item
|
||||||
// array of queries...
|
// array of queries...
|
||||||
: item instanceof Array ?
|
: item instanceof Array ?
|
||||||
@ -1024,6 +1022,7 @@ function(event, {handler, action, default_item, filter, options={}, getter='sear
|
|||||||
// item is null (explicitly) or other...
|
// item is null (explicitly) or other...
|
||||||
: []
|
: []
|
||||||
return (skipUnresolved
|
return (skipUnresolved
|
||||||
|
// handler registration...
|
||||||
&& !(resolved instanceof Function)
|
&& !(resolved instanceof Function)
|
||||||
&& resolved.length == 0
|
&& resolved.length == 0
|
||||||
&& item != null) ?
|
&& item != null) ?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user