diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-08 14:14:05 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-08 14:14:05 +0100 |
commit | f7f6c4b801172ce119d4ea9a650c543670474784 (patch) | |
tree | 7b4c2426101d30cd67c2e5c38ed5cee40bfdf55c /dist | |
parent | d3baefd3d4fac81ba27459197f289bff1a846046 (diff) | |
download | svg.js-f7f6c4b801172ce119d4ea9a650c543670474784.tar.gz svg.js-f7f6c4b801172ce119d4ea9a650c543670474784.zip |
`fill()` and `stroke()` return the fill and stroke attribute when called as getter (#789)
Diffstat (limited to 'dist')
-rw-r--r-- | dist/svg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js index ff69c36..bdf49a1 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@mick-wout.com> * @license MIT * -* BUILT: Thu Nov 08 2018 13:57:26 GMT+0100 (GMT+01:00) +* BUILT: Thu Nov 08 2018 14:12:10 GMT+0100 (GMT+01:00) */; var SVG = (function () { 'use strict'; @@ -5073,7 +5073,7 @@ var SVG = (function () { extension[m] = function (o) { if (typeof o === 'undefined') { - return this; + return this.attr(m); } if (typeof o === 'string' || Color.isRgb(o) || o instanceof Element) { |