Skip to content

Commit 5896b42

Browse files
committed
Modified arguments
1 parent 39ae7d4 commit 5896b42

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

v3/src/tween/builder/GetValueOp.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ var GetValueOp = function (key, value)
6767
else if (t === 'function')
6868
{
6969
// props: {
70-
// x: function (startValue, target, index, totalTargets) { return startValue + (index * 50); },
70+
// x: function (i, target, key) { return i + 50); },
7171
// }
7272

73-
valueCallback = function (startValue, target, index, total)
73+
valueCallback = function (i, target, key)
7474
{
75-
return value(startValue, target, index, total);
75+
return value(i, target, key);
7676
};
7777
}
7878
else if (value.hasOwnProperty('value'))

0 commit comments

Comments
 (0)