-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari cannot find requestAnimationFrame #72
Comments
In the last Safari it still requires the "webkit" prefix. You can use something like this to make sure it works (almost) everywhere:
Browser support: http://caniuse.com/requestanimationframe |
thanks @taseenb! @codeanticode do you want to try this in your version of safari and close if it works? we haven't really been testing in anything other than chrome yet, but this is a great start. |
this pr should fix it https://github.com/lmccart/processing-js/pull/74, I tested on safari 6.0.5 only. |
oh wow I didn't hook that last attempt of mine in correctly at all, must be very tired, sorry about that. thanks for the fix. |
I tried to run pjs script using different versions of Safari, including the latest one included in 10.8.5, and get the following error:
pjs.js:1605 ReferenceError: Can't find variable: requestAnimationFrame
which corresponds to the following code in pjs.js:
Part of https://github.com/lmccart/processing-js/issues/20
The text was updated successfully, but these errors were encountered: