~caneypuggies/reformedchurcheslocator/couchapp-backbone

« back to all changes in this revision

Viewing changes to _attachments/js/vendor/modernizr/feature-detects/ie8compat.js

  • Committer: Tim Black
  • Date: 2013-09-16 22:50:16 UTC
  • Revision ID: tim@alwaysreformed.com-20130916225016-zk8jiba25z33ew7h
Versioned Bower vendor directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// IE8 compat mode aka Fake IE7
 
3
// by Erich Ocean
 
4
 
 
5
// In this case, IE8 will be acting as IE7. You may choose to remove features in this case.
 
6
 
 
7
// related:
 
8
// james.padolsey.com/javascript/detect-ie-in-js-using-conditional-comments/
 
9
 
 
10
Modernizr.addTest('ie8compat',function(){
 
11
    return (!window.addEventListener && document.documentMode && document.documentMode === 7);
 
12
});