mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -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;
|
||||
// Installs interval timer that checks all callbacks. This results
|
||||
// in faster animations than repeatedly installing timout timers.
|
||||
timer = window.setInterval(function() {
|
||||
timer = setInterval(function() {
|
||||
// Checks all installed callbacks for element visibility and
|
||||
// execute if needed.
|
||||
for (var i = callbacks.length - 1; i >= 0; i--) {
|
||||
|
|
Loading…
Reference in a new issue