svg-sprite-loader
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -196,2 +196,11 @@ var Sniffr = require('sniffr'); | ||
/** | ||
* Fix for browser (IE, maybe other too) which are throwing 'WrongDocumentError' | ||
* if you insert an element which is not part of the document | ||
* @see http://stackoverflow.com/questions/7981100/how-do-i-dynamically-insert-an-svg-image-into-html#7986519 | ||
*/ | ||
if (document.importNode) { | ||
svg = document.importNode(svg, true); | ||
} | ||
if (this.browser.name !== 'ie' && this.urlPrefix) { | ||
@@ -198,0 +207,0 @@ baseUrlWorkAround(svg, DEFAULT_URI_PREFIX, this.urlPrefix); |
{ | ||
"name": "svg-sprite-loader", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "SVG sprite webpack loader", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
22655
515