@jam3/detect
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"name": "@jam3/detect", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "User agent feature detection like Device Orientation, in App Browser Detection, etc", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -182,3 +182,3 @@ import bowser from 'bowser'; | ||
this.browser = !this.node; | ||
this.touch = 'ontouchstart' in window || navigator.maxTouchPoints > 0; | ||
this.touch = 'ontouchstart' in detector.window || detector.window.navigator.maxTouchPoints > 0; | ||
} | ||
@@ -185,0 +185,0 @@ get orientation() { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70698