Remove unnecessary window reference.

This commit is contained in:
Jürg Lehni 2012-11-14 12:07:08 -08:00
parent fbe8095d1b
commit 72d64be5e6

View file

@ -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--) {