mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
not sure about last change...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
75343d4bd1
commit
da0923343f
10
actions.js
10
actions.js
@ -757,11 +757,11 @@ Action.prototype.pre = function(context, args){
|
||||
// return context if nothing specific is returned...
|
||||
res = res === undefined ? context
|
||||
: res === UNDEFINED ? undefined
|
||||
// returning an explicit [undefined]... (XXX EXPERIMENTAL)
|
||||
: res instanceof Array
|
||||
&& res.length == 1
|
||||
&& res.indexOf(undefined) == 0 ?
|
||||
undefined
|
||||
// XXX returning an explicit [undefined]...
|
||||
//: res instanceof Array
|
||||
// && res.length == 1
|
||||
// && res.indexOf(undefined) == 0 ?
|
||||
// undefined
|
||||
: res
|
||||
|
||||
return {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.17.0",
|
||||
"version": "3.18.0",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user