Skip to content
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

Detect browser on pCreate for handling of browser specific fxns (ex mouse button) #23

Closed
lmccart opened this issue Aug 10, 2013 · 3 comments
Milestone

Comments

@lmccart
Copy link
Member

lmccart commented Aug 10, 2013

No description provided.

@taseenb
Copy link
Contributor

taseenb commented Mar 18, 2014

hi @lmccart

what specific browser features would you like to handle? i suggest to check browser support for specific features (like touch). user agent strings are not reliable and they are difficult to maintain. we can find some inspiration from the feature detection scripts used by Modernizr : https://github.com/Modernizr/Modernizr/tree/master/feature-detects

http://modernizr.com/

@evhan55
Copy link
Contributor

evhan55 commented Mar 20, 2014

@taseenb I think @lmccart had this in mind:

For the p5.js core API, anything that is handled separately in different browsers should be automatically detected and handled appropriately, without needing any further prompting from the user, and failing gracefully where it has to.

We also had in a mind an error reporting protocol that warned the user if they were using an API call that was not handled in their current browser.

There will need to be a full sweep of the core API at some point through all the major browsers to check for these issues and come up with a compatibility table.

@taseenb
Copy link
Contributor

taseenb commented Mar 20, 2014

i see! that means we should probably solve this open issue, first: https://github.com/lmccart/p5.js/issues/83

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants