svg-sprite
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -64,3 +64,3 @@ 'use strict'; | ||
SVGSpriteStack.prototype._buildSVG = function(xmlDeclaration, doctypeDeclaration) { | ||
svg = new SVGSprite(xmlDeclaration, doctypeDeclaration); | ||
var svg = new SVGSprite(xmlDeclaration, doctypeDeclaration); | ||
svg.add('<style>:root>svg{display:none}:root>svg:target{display:block}</style>'); | ||
@@ -67,0 +67,0 @@ svg.add(_.pluck(this.data.shapes, 'svg')); |
{ | ||
"name": "svg-sprite", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Joschi Kuphal", |
@@ -64,3 +64,3 @@ svg-sprite [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] | ||
--shape-id-separator Separator for traversing a directory structure into a shape ID [default: "--"] | ||
--shape-id-generator ID generation callback [not available via command line] [default: null] | ||
--shape-id-generator ID generation callback [via CLI only template strings] [default: "%s"] | ||
--shape-id-pseudo Separator for CSS pseudo classes [default: "~"] | ||
@@ -911,2 +911,6 @@ -w, --shape-dim-width Maximum shape width in pixels [default: 2000] | ||
#### v1.0.5 Bufix release | ||
* Fixed regression bug with SVG stacks | ||
* Added support for ID generator templates in CLI version ([#37](https://github.com/jkphl/svg-sprite/issues/37)) | ||
#### v1.0.4 Bufix release | ||
@@ -913,0 +917,0 @@ * Fixed XML & doctype declaration bug with inline sprites ([gulp-svg-sprite #2](https://github.com/jkphl/gulp-svg-sprite/issues/2)) |
Sorry, the diff of this file is not supported yet
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
8412933
962