Open thegregthomp opened 10 years ago
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.
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.