jquery-inline-svg
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "jquery-inline-svg", | ||
"version": "1.0.0", | ||
"description": "Replace SVG images with inline SVG element ", | ||
"version": "1.0.1", | ||
"description": "Replace SVG images with inline SVG element", | ||
"main": "dist/jquery-inline-svg.esm.js", | ||
"scripts": { | ||
"test": "eslint src/*.js", | ||
"build": "npm run bundle && npm run bundle:min", | ||
"bundle": "rollup -c build/rollup.conf.js", | ||
"bundle:min": "rollup -c build/rollup-min.conf.js" | ||
}, | ||
"keywords": [ | ||
@@ -19,9 +26,11 @@ "svg", | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"eslint": "^4", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.9.0" | ||
}, | ||
"scripts": { | ||
"test": "eslint src/*.js" | ||
"eslint-plugin-import": "^2.9.0", | ||
"rollup": "^0.57.1", | ||
"rollup-plugin-babel": "^3.0.3", | ||
"rollup-plugin-uglify": "^3.0.0" | ||
} | ||
} |
@@ -0,1 +1,4 @@ | ||
const cache = {}; | ||
(function wrapJquery($) { | ||
@@ -8,5 +11,2 @@ $.fn.inlineSvg = function fnInlineSvg() { | ||
const cache = {}; | ||
function imgToSvg() { | ||
@@ -13,0 +13,0 @@ const $img = $(this); |
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
153
9455
8
10