not sure about last change...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-02-18 13:26:06 +03:00
parent 75343d4bd1
commit da0923343f
2 changed files with 6 additions and 6 deletions

View File

@ -757,11 +757,11 @@ Action.prototype.pre = function(context, args){
// return context if nothing specific is returned... // return context if nothing specific is returned...
res = res === undefined ? context res = res === undefined ? context
: res === UNDEFINED ? undefined : res === UNDEFINED ? undefined
// returning an explicit [undefined]... (XXX EXPERIMENTAL) // XXX returning an explicit [undefined]...
: res instanceof Array //: res instanceof Array
&& res.length == 1 // && res.length == 1
&& res.indexOf(undefined) == 0 ? // && res.indexOf(undefined) == 0 ?
undefined // undefined
: res : res
return { return {

View File

@ -1,6 +1,6 @@
{ {
"name": "ig-actions", "name": "ig-actions",
"version": "3.17.0", "version": "3.18.0",
"description": "", "description": "",
"main": "actions.js", "main": "actions.js",
"scripts": { "scripts": {