2
// IE8 compat mode aka Fake IE7
5
// In this case, IE8 will be acting as IE7. You may choose to remove features in this case.
8
// james.padolsey.com/javascript/detect-ie-in-js-using-conditional-comments/
10
Modernizr.addTest('ie8compat',function(){
11
return (!window.addEventListener && document.documentMode && document.documentMode === 7);