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...
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 {

View File

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