Not long ago I forked and made a few modifications to James Pearce’s Modernizr Server repo on GitHub.
And now I’ve finally had the time to do a little more fine-tuning:
https://github.com/aarontgrogg/modernizr-server
My most recent enhancements include:
- adding a few tests to make sure the Modernizr tests can run successfully before the process starts,
- retaining the classes in the client browser so the tests don’t have to be run again, and
- using
localStorage
to store the Modernizr test results, in order to reduce thecookie
overhead (while still falling-back tocookies
if necessary).
There is still more work that I’d like to do, documented in the README file, but it is a little more progress.
Let me know what you think!
Cheers,
Atg