Skip to content

Commit 4baf88b

Browse files
committed
Updated comments
1 parent 79b2048 commit 4baf88b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/tweens/builders/GetValueOp.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ var GetValueOp = function (key, propertyValue)
145145
// The same as setting just the getEnd function and no getStart
146146

147147
// props: {
148-
// x: function (target, key, value) { return value + 50); },
148+
// x: function (target, key, value, index, totalTargets, tween) { return value + 50); },
149149
// }
150150

151151
getEnd = propertyValue;
@@ -157,19 +157,19 @@ var GetValueOp = function (key, propertyValue)
157157
/*
158158
x: {
159159
// Called the moment Tween is active. The returned value sets the property on the target immediately.
160-
getActive: function (target, key, value)
160+
getActive: function (target, key, value, index, totalTargets, tween)
161161
{
162162
return value;
163163
},
164164
165165
// Called at the start of the Tween. The returned value sets what the property will be at the END of the Tween.
166-
getEnd: function (target, key, value)
166+
getEnd: function (target, key, value, index, totalTargets, tween)
167167
{
168168
return value;
169169
},
170170
171171
// Called at the end of the Tween. The returned value sets what the property will be at the START of the Tween.
172-
getStart: function (target, key, value)
172+
getStart: function (target, key, value, index, totalTargets, tween)
173173
{
174174
return value;
175175
}

0 commit comments

Comments
 (0)