Whitespace fixes.
parent
2e838d7be3
commit
92ae90b828
|
@ -212,13 +212,12 @@ window.os_detect.getVersion = function(){
|
||||||
} else if ('imul' in Math) {
|
} else if ('imul' in Math) {
|
||||||
ua_version = '20.0'
|
ua_version = '20.0'
|
||||||
} else if (css_is_valid('font-size', 'fontSize', '23vmax')) {
|
} else if (css_is_valid('font-size', 'fontSize', '23vmax')) {
|
||||||
// this is fuxored
|
|
||||||
ua_version = '19.0'
|
ua_version = '19.0'
|
||||||
} else if ('devicePixelRatio' in window) {
|
} else if ('devicePixelRatio' in window) {
|
||||||
ua_version = '18.0'
|
ua_version = '18.0'
|
||||||
} else if ('createElement' in document &&
|
} else if ('createElement' in document &&
|
||||||
document.createElement('iframe') &&
|
document.createElement('iframe') &&
|
||||||
'sandbox' in document.createElement('iframe')) {
|
'sandbox' in document.createElement('iframe')) {
|
||||||
ua_version = '17.0'
|
ua_version = '17.0'
|
||||||
} else if ('mozApps' in navigator && 'install' in navigator.mozApps) {
|
} else if ('mozApps' in navigator && 'install' in navigator.mozApps) {
|
||||||
ua_version = '16.0'
|
ua_version = '16.0'
|
||||||
|
@ -234,7 +233,7 @@ window.os_detect.getVersion = function(){
|
||||||
ua_version = "12.0";
|
ua_version = "12.0";
|
||||||
} else if ('mozVibrate' in navigator) {
|
} else if ('mozVibrate' in navigator) {
|
||||||
ua_version = "11.0";
|
ua_version = "11.0";
|
||||||
} else if (css_is_valid('-moz-backface-visibility', 'MozBackfaceVisibility', 'preserve-3d')) {
|
} else if (css_is_valid('-moz-backface-visibility', 'MozBackfaceVisibility', 'hidden')) {
|
||||||
ua_version = "10.0";
|
ua_version = "10.0";
|
||||||
} else if ('doNotTrack' in navigator) {
|
} else if ('doNotTrack' in navigator) {
|
||||||
ua_version = "9.0";
|
ua_version = "9.0";
|
||||||
|
|
Loading…
Reference in New Issue