mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Remove unnecessary window reference.
This commit is contained in:
parent
fbe8095d1b
commit
72d64be5e6
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ DomEvent.requestAnimationFrame = new function() {
|
||||||
return;
|
return;
|
||||||
// Installs interval timer that checks all callbacks. This results
|
// Installs interval timer that checks all callbacks. This results
|
||||||
// in faster animations than repeatedly installing timout timers.
|
// in faster animations than repeatedly installing timout timers.
|
||||||
timer = window.setInterval(function() {
|
timer = setInterval(function() {
|
||||||
// Checks all installed callbacks for element visibility and
|
// Checks all installed callbacks for element visibility and
|
||||||
// execute if needed.
|
// execute if needed.
|
||||||
for (var i = callbacks.length - 1; i >= 0; i--) {
|
for (var i = callbacks.length - 1; i >= 0; i--) {
|
||||||
|
|
Loading…
Reference in a new issue