omitting 'window.' was causing undefined errors
This commit is contained in:
parent
f7ccec1b70
commit
9dc6397187
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Reference in a new issue