Skip to content
Permalink
Browse files

omitting 'window.' was causing undefined errors

  • Loading branch information
louisremi timmywil
louisremi authored and timmywil committed Feb 1, 2011
1 parent f7ccec1 commit 9dc63971877d583dac5bb5c8b0c3d73d1127f144
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/support.js
@@ -60,9 +60,9 @@

// Verify requestAnimationFrame mechanism existence
// use the prefixed name as the value
requestAnimationFrame: mozRequestAnimationFrame ?
requestAnimationFrame: window.mozRequestAnimationFrame ?
'mozRequestAnimationFrame' :
webkitRequestAnimationFrame ?
window.webkitRequestAnimationFrame ?
'webkitRequestAnimationFrame' :
false,

0 comments on commit 9dc6397

Please sign in to comment.
You can’t perform that action at this time.