svg-use-it
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "svg-use-it", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "SVG use polyfill for IE10", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -23,5 +23,3 @@ // anchor element as parser for URls as stated here: https://gist.github.com/jlong/2428561 | ||
var item = items[filePath]; | ||
if (!item) { | ||
if (!items[filePath]) { | ||
items[filePath] = { | ||
@@ -33,2 +31,4 @@ nodes: [], | ||
var item = items[filePath]; | ||
item.nodes.push({ | ||
@@ -159,3 +159,3 @@ element: element, | ||
*/ | ||
function supportsExternalFragments(testNode) { | ||
function supportsExternalFragments (testNode) { | ||
return testNode.getBoundingClientRect().width > 0; | ||
@@ -168,3 +168,3 @@ } | ||
*/ | ||
module.exports = function (rootSelector, blacklist) { | ||
function svgUseIt (rootSelector, blacklist) { | ||
// element name to query for | ||
@@ -189,1 +189,3 @@ var query = 'use'; | ||
} | ||
module.exports = svgUseIt; |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
6047
4
156
1
44