omitting 'window.' was causing undefined errors
This commit is contained in:
parent
f7ccec1b70
commit
9dc6397187
|
@ -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