Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
omitting 'window.' was causing undefined errors
  • Loading branch information
louisremi authored and timmywil committed Apr 4, 2011
1 parent f7ccec1 commit 9dc6397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/support.js
Expand Up @@ -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,

Expand Down

0 comments on commit 9dc6397

Please sign in to comment.