Index, Klaus,
My bad.
The krpano's action args replacing with %0, %1, %2, ...%N and in the action of type=Javascript where in both %0 and args[0] is the actionname.
I hope, that Klaus in the next releases will not remove the %0, %1, %2, ... option in the localscope.
I use it for the output formatting of the action call e.g.:
|
Quellcode
|
1
|
if( debugmode, trace(calc('%0' + '(' + '%1, %2, %3, %4' + ')')););
|
which works consistent in both global and local action with variables as arguments. I understand Klaus' recommendation on
argument-to-variable-mapping. Apparently the
%N substitution and non-caching in the action is done independently from the debugmode=false just because appearance of the
%N signs.
Klaus, am I right?
Thank you,
Pavel