From 72d64be5e6488956c437fd710d1e21f464edf4f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 14 Nov 2012 12:07:08 -0800 Subject: [PATCH] Remove unnecessary window reference. --- src/browser/DomEvent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/DomEvent.js b/src/browser/DomEvent.js index 27e42257..5ad4f7bf 100644 --- a/src/browser/DomEvent.js +++ b/src/browser/DomEvent.js @@ -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--) {