Modified arguments

This commit is contained in:
Richard Davey 2017-09-04 00:56:14 +01:00
parent 39ae7d46cd
commit 5896b42711

View file

@ -67,12 +67,12 @@ var GetValueOp = function (key, value)
else if (t === 'function')
{
// props: {
// x: function (startValue, target, index, totalTargets) { return startValue + (index * 50); },
// x: function (i, target, key) { return i + 50); },
// }
valueCallback = function (startValue, target, index, total)
valueCallback = function (i, target, key)
{
return value(startValue, target, index, total);
return value(i, target, key);
};
}
else if (value.hasOwnProperty('value'))