Last Updated: February 25, 2016
·
777
· dviramontes

Add media query support test to Modernizr test suit:

Modernizr.addTest("mq", function(){
return !!Modernizr.mq("only all");
});

adds: <html class="mq">
or in the case of ie 7 & 8 <html class="no-mq"> :(