minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-09-26 23:55:59 +03:00
parent ed98d85724
commit 83a385ad0a
2 changed files with 4 additions and 3 deletions

View File

@ -469,8 +469,9 @@ Action.prototype.pre = function(context, args){
})
// return context if nothing specific is returned...
res = res === undefined ? context : res
res = res === UNDEFINED ? undefined : res
res = res === undefined ? context
: res === UNDEFINED ? undefined
: res
return {
arguments: args,

View File

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