Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

separate jReject detection features #55

Open
thegregthomp opened this issue Aug 14, 2014 · 1 comment
Open

separate jReject detection features #55

thegregthomp opened this issue Aug 14, 2014 · 1 comment

Comments

@thegregthomp
Copy link

So this isn't much an issue but a request but, I recently used jReject on a project and I love their browser detection feature where the added the info to the html class. This along with modernizr is amazing. I had another project where I'm actually using the jreject for just that reason. I'd love to see a light way stripped version that all it does is detect browser and adds those classes to the html tag.

@BluSyn
Copy link
Member

BluSyn commented Sep 29, 2014

Not a bad idea. The detection code is technically separated in the jreject.js file. I could see the value of separating that into its own project.

It is originally based on jQuery Bower Plugin here: http://jquery.thewikies.com/browser/
The original author has not updated this library since 2008. I have made significant changes to it for use in jReject, mostly related to newer devices (eg, mobile).

I will keep this ticket open, and consider splitting the projects when I get the opportunity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants