From 1a7eb876096ed188103d65f14e84c0bfa5b5ed34 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 8 Nov 2016 06:30:23 +0300 Subject: [PATCH] doc... Signed-off-by: Alex A. Naanou --- actions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions.js b/actions.js index 1a64dca..6631d38 100755 --- a/actions.js +++ b/actions.js @@ -528,8 +528,10 @@ Action.prototype.chainApply = function(context, inner, args){ var data = this.pre(context, args) // call the inner action/function if preset.... + // NOTE: this is slightly different (see docs) to what happens in + // .pre(..)/.post(..), thus we are doing this separately and + // not reusing existing code... if(inner){ - // XXX need a way to pass data.result to inner... (???) var res = inner instanceof Function ? inner.apply(context, args) : inner instanceof Array && inner.length > 0 ?