mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
072a3f4952
commit
fdf953d791
@ -941,9 +941,11 @@ module.MetaActions = {
|
||||
: this.parseStringAction.callAction(this, action, ...args) },
|
||||
// XXX EXPERIMENTAL -- symantics of this are not final...
|
||||
// XXX need str syntax for this...
|
||||
// XXX need to be able to both chain and parallel actions, a-la
|
||||
// Promise.all(..)...
|
||||
chain: function(actions, ...args){
|
||||
var that = this
|
||||
actions
|
||||
return actions
|
||||
.reduce(function(res, action){
|
||||
return res instanceof Promise ?
|
||||
res
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.24.29",
|
||||
"version": "3.24.30",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user