mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Modified arguments
This commit is contained in:
parent
39ae7d46cd
commit
5896b42711
1 changed files with 3 additions and 3 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue