We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 960acce commit 1eda622Copy full SHA for 1eda622
1 file changed
v3/src/dom/RequestAnimationFrame.js
@@ -42,9 +42,9 @@ var RequestAnimationFrame = function ()
42
{
43
_this.tick = timestamp;
44
45
- _this.timeOutID = window.requestAnimationFrame(step);
46
-
47
_this.callback(timestamp);
+
+ _this.timeOutID = window.requestAnimationFrame(step);
48
};
49
50
var stepTimeout = function ()
@@ -53,9 +53,9 @@ var RequestAnimationFrame = function ()
53
54
_this.tick = d;
55
56
- _this.timeOutID = window.setTimeout(stepTimeout, _this.timeToCall);
57
58
_this.callback(d);
+ _this.timeOutID = window.setTimeout(stepTimeout, _this.timeToCall);
59
60
61
this.step = step;
0 commit comments