mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
omitting 'window.' was causing undefined errors
This commit is contained in:
parent
f7ccec1b70
commit
9dc6397187
@ -60,9 +60,9 @@
|
|||||||
|
|
||||||
// Verify requestAnimationFrame mechanism existence
|
// Verify requestAnimationFrame mechanism existence
|
||||||
// use the prefixed name as the value
|
// use the prefixed name as the value
|
||||||
requestAnimationFrame: mozRequestAnimationFrame ?
|
requestAnimationFrame: window.mozRequestAnimationFrame ?
|
||||||
'mozRequestAnimationFrame' :
|
'mozRequestAnimationFrame' :
|
||||||
webkitRequestAnimationFrame ?
|
window.webkitRequestAnimationFrame ?
|
||||||
'webkitRequestAnimationFrame' :
|
'webkitRequestAnimationFrame' :
|
||||||
false,
|
false,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user