mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
some tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
27658ce3dc
commit
b30681fad8
@ -1002,8 +1002,10 @@ module.MetaActions = {
|
||||
|
||||
// XXX EXPERIMENTAL...
|
||||
call: function(action, ...args){
|
||||
return this[action] ?
|
||||
this[action].apply(this, args)
|
||||
return action instanceof Function ?
|
||||
action.apply(this, args)
|
||||
: this[action] ?
|
||||
this[action].apply(this, args)
|
||||
: this.parseStringAction.applyAction(this, action, args) },
|
||||
apply: function(action, args){
|
||||
return this.call(action, ...args)},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.13.0",
|
||||
"version": "3.14.0",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user