Commit 9dc63971 authored by louisremi's avatar louisremi Committed by timmywil

omitting 'window.' was causing undefined errors

parent f7ccec1b
...@@ -60,9 +60,9 @@ ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment