esvg 4.3.8 → 4.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/esvg/svgs.rb +1 -1
- data/lib/esvg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c725ea2fad5a3ce5df37270bb5d49d85d58e012
|
4
|
+
data.tar.gz: 9a1311c39d423b886216d966e45521f1ac2bb592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248cd982eb3cbb1b16b68532be97fb62b6ec192a5ad69b854bfba5b40082f86682fcf59758616263782f3f8493698643d00ec4addba57f3630b5edf553de15ca
|
7
|
+
data.tar.gz: 593cc46f94f68f770019ba967f4d590c3b670054f5e1d8f7bae972592747d10fb74401a115ad6edcc96e4750d58ce530134b42d3d5244d2298f2176bfe49cb74
|
data/CHANGELOG.md
CHANGED
data/lib/esvg/svgs.rb
CHANGED
@@ -240,7 +240,7 @@ module Esvg
|
|
240
240
|
var prefix = parent.dataset.prefix
|
241
241
|
var base = parent.dataset.symbolClass
|
242
242
|
|
243
|
-
var svg = document.createRange().createContextualFragment( '<svg><use xlink:href="#'+id+'"/></svg>' ).firstChild;
|
243
|
+
var svg = document.createRange().createContextualFragment( '<svg><use xlink:href="#' + prefix + '-' + id + '"/></svg>' ).firstChild;
|
244
244
|
svg.setAttribute( 'class', base + ' ' + prefix + '-' + id + ' ' + ( options.class || '' ).trim() )
|
245
245
|
svg.setAttribute( 'viewBox', symbol.getAttribute( 'viewBox' ) )
|
246
246
|
|
data/lib/esvg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: esvg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.5.1
|
117
|
+
rubygems_version: 2.4.5.1
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Embed svgs in HTML or CSS
|