@applitools/snippets
Advanced tools
Comparing version 2.4.18 to 2.4.19
@@ -94,3 +94,3 @@ exports.addElementIds=function(arg){ | ||
exports.getViewport=function(arg){ | ||
var s=function(){"use strict";return function(){var e=0,t=0;return window.innerHeight?t=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?t=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(t=document.body.clientHeight),window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),{viewportSize:{width:e,height:t},pixelRatio:window.devicePixelRatio,viewportScale:window.visualViewport&&window.visualViewport.scale}}}(); | ||
var s=function(){"use strict";return function(){var e=0,n=0;return window.innerHeight?n=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?n=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(n=document.body.clientHeight),window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),{viewportSize:{width:e,height:n},pixelRatio:window.devicePixelRatio,viewportScale:window.visualViewport&&window.visualViewport.scale,orientation:window.screen&&window.screen.orientation&&window.screen.orientation.type.replace(/-primary$/,"")}}}(); | ||
return s(arg) | ||
@@ -97,0 +97,0 @@ } |
{ | ||
"name": "@applitools/snippets", | ||
"version": "2.4.18", | ||
"version": "2.4.19", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
35436