aboutsummaryrefslogtreecommitdiffstats
path: root/src/nested.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-22 22:16:36 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-22 22:16:36 +0200
commitab1c07e80bd21f2cdf773be238d4dd754db4e80a (patch)
treeb1386635a4e54f29eee8cfa41151fd930610c25e /src/nested.js
parent03d25548fe99c87ed74e789b894e37a7fc6caf34 (diff)
downloadsvg.js-ab1c07e80bd21f2cdf773be238d4dd754db4e80a.tar.gz
svg.js-ab1c07e80bd21f2cdf773be238d4dd754db4e80a.zip
changed `style()` to `css()`
it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix
Diffstat (limited to 'src/nested.js')
-rw-r--r--src/nested.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nested.js b/src/nested.js
index f856e52..fff03d1 100644
--- a/src/nested.js
+++ b/src/nested.js
@@ -3,7 +3,7 @@ SVG.Nested = SVG.invent({
create: function() {
this.constructor.call(this, SVG.create('svg'))
- this.style('overflow', 'visible')
+ this.css('overflow', 'visible')
}
// Inherit from