Skip to content

Commit

Permalink
added font() method to SVG.Tspan (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzyma committed Mar 5, 2017
1 parent 901de65 commit 250f97f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -32,7 +32,8 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http:

### Added
- added a plot and array method to `SVG.TextPath` (#582)
- added `clone` method to `SVG.Array/PointArray/PathArray` (#590)
- added `clone()` method to `SVG.Array/PointArray/PathArray` (#590)
- added `font()` method to `SVG.Tspan`

### Changed
- changed CHANGELOG to follow the conventions described in [“Keep a CHANGELOG”](http://keepachangelog.com) (#578)
Expand Down
4 changes: 2 additions & 2 deletions dist/svg.js
Expand Up @@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
* BUILT: Sun Mar 05 2017 14:05:04 GMT+0100 (Mitteleuropäische Zeit)
* BUILT: Sun Mar 05 2017 15:40:03 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
Expand Down Expand Up @@ -4960,7 +4960,7 @@ SVG.extend(SVG.Path, {
}
})

SVG.extend(SVG.Parent, SVG.Text, SVG.FX, {
SVG.extend(SVG.Parent, SVG.Text, SVG.Tspan, SVG.FX, {
// Set font
font: function(o) {
for (var k in o)
Expand Down
2 changes: 1 addition & 1 deletion dist/svg.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/sugar.js
Expand Up @@ -98,7 +98,7 @@ SVG.extend(SVG.Path, {
}
})

SVG.extend(SVG.Parent, SVG.Text, SVG.FX, {
SVG.extend(SVG.Parent, SVG.Text, SVG.Tspan, SVG.FX, {
// Set font
font: function(o) {
for (var k in o)
Expand Down

0 comments on commit 250f97f

Please sign in to comment.