File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 611
611
) ) {
612
612
layout = [ data ] ;
613
613
}
614
+ // detect IE 11 and above
615
+ if ( ! name && layout == 'Trident' ) {
616
+ name = 'IE' ;
617
+ version = ( / \b r v : ( [ \d . ] + ) / . exec ( ua ) || 0 ) [ 1 ] ;
618
+ }
614
619
// leverage environment features
615
620
if ( useFeatures ) {
616
621
// detect server-side environments
Original file line number Diff line number Diff line change 984
984
'version' : '10.0'
985
985
} ,
986
986
987
+ 'IE 11.0 on Windows 8.1' : {
988
+ 'ua' : 'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko' ,
989
+ 'layout' : 'Trident' ,
990
+ 'name' : 'IE' ,
991
+ 'os' : 'Windows 8.1' ,
992
+ 'version' : '11.0'
993
+ } ,
994
+
987
995
'IE Mobile 4.01 on Windows CE' : {
988
996
'ua' : 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' ,
989
997
'layout' : 'Trident' ,
You can’t perform that action at this time.
0 commit comments