minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-10-24 17:10:15 +03:00
parent a60443e3ec
commit 7f387d8f3d
2 changed files with 3 additions and 3 deletions

View File

@ -253,14 +253,14 @@ object.Constructor('Event', Eventful, {
__call__: function(context, ...args){
// NOTE: when the first arg is an event command this will
// fall through to calling the action...
typeof(args[0]) == 'function' ?
var res = typeof(args[0]) == 'function' ?
// add handler...
this.bind(context, args[0])
// call the action...
: object.parentCall(Event.prototype.__call__, this, context, ...args)
// XXX workaround for above line -- remove when fully tested...
//: Eventful.prototype.__call__.call(this, context, ...args)
return context },
return res },
})

View File

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