@polymer/iron-image
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -130,5 +130,5 @@ /** | ||
<a id="baseURIAnchor" href="#"></a> | ||
<div id="sizedImgDiv" role="img" hidden\$="[[_computeImgDivHidden(sizing)]]" aria-hidden\$="[[_computeImgDivARIAHidden(alt)]]" aria-label\$="[[_computeImgDivARIALabel(alt, src)]]"></div> | ||
<img id="img" alt\$="[[alt]]" hidden\$="[[_computeImgHidden(sizing)]]" crossorigin\$="[[crossorigin]]" on-load="_imgOnLoad" on-error="_imgOnError"> | ||
<div id="placeholder" hidden\$="[[_computePlaceholderHidden(preload, fade, loading, loaded)]]" class\$="[[_computePlaceholderClassName(preload, fade, loading, loaded)]]"></div> | ||
<div id="sizedImgDiv" role="img" hidden$="[[_computeImgDivHidden(sizing)]]" aria-hidden$="[[_computeImgDivARIAHidden(alt)]]" aria-label$="[[_computeImgDivARIALabel(alt, src)]]"></div> | ||
<img id="img" alt$="[[alt]]" hidden$="[[_computeImgHidden(sizing)]]" crossorigin$="[[crossorigin]]" on-load="_imgOnLoad" on-error="_imgOnError"> | ||
<div id="placeholder" hidden$="[[_computePlaceholderHidden(preload, fade, loading, loaded)]]" class$="[[_computePlaceholderClassName(preload, fade, loading, loaded)]]"></div> | ||
`, | ||
@@ -359,3 +359,3 @@ | ||
// consider reverting and adding the URL polyfill as a dev dependency. | ||
if (resolved[0] === '/') { | ||
if (resolved.length >= 2 && resolved[0] === '/' && resolved[1] !== '/') { | ||
// In IE location.origin might not work | ||
@@ -362,0 +362,0 @@ // https://connect.microsoft.com/IE/feedback/details/1763802/location-origin-is-undefined-in-ie-11-on-windows-10-but-works-on-windows-7 |
@@ -27,3 +27,3 @@ { | ||
}, | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"main": "iron-image.js", | ||
@@ -30,0 +30,0 @@ "author": "The Polymer Authors", |
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
48153