object-fit-images
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -22,3 +22,2 @@ 'use strict'; | ||
var style = getStyle(el); | ||
console.log(el); | ||
@@ -77,3 +76,2 @@ // exit if not set | ||
if (el[ಠ].i.naturalWidth) { | ||
console.log(el[ಠ].i.naturalWidth); | ||
if (el[ಠ].i.naturalWidth > el.width || el[ಠ].i.naturalHeight > el.height) { | ||
@@ -80,0 +78,0 @@ el.style.backgroundSize = 'contain'; |
@@ -20,3 +20,2 @@ var ಠ = 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='; // transparent image, used as accessor and replacing image | ||
var style = getStyle(el); | ||
console.log(el); | ||
@@ -75,3 +74,2 @@ // exit if not set | ||
if (el[ಠ].i.naturalWidth) { | ||
console.log(el[ಠ].i.naturalWidth); | ||
if (el[ಠ].i.naturalWidth > el.width || el[ಠ].i.naturalHeight > el.height) { | ||
@@ -78,0 +76,0 @@ el.style.backgroundSize = 'contain'; |
{ | ||
"name": "object-fit-images", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Adds support to object-fit to images on IE9, IE10, IE11, Edge and other old browsers.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
18768
291