summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-09 22:39:03 +1000
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-09 22:39:03 +1000
commit47dc23cf13f870c9ce5dbc69c22a1c33f01619ef (patch)
tree6ce428dcbabaaaa84a83d3605ca841b4f396f301 /src
parent02cbd2998c3c36b88701ce83089df8947be1de9f (diff)
downloadsvg.js-47dc23cf13f870c9ce5dbc69c22a1c33f01619ef.tar.gz
svg.js-47dc23cf13f870c9ce5dbc69c22a1c33f01619ef.zip
added tests for Image
Diffstat (limited to 'src')
-rw-r--r--src/elements/Circle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Circle.js b/src/elements/Circle.js
index 701b5e1..6981b05 100644
--- a/src/elements/Circle.js
+++ b/src/elements/Circle.js
@@ -38,7 +38,7 @@ extend(Circle, { x, y, cx, cy, width, height })
registerMethods({
Container: {
// Create circle element
- circle: wrapWithAttrCheck(function (size) {
+ circle: wrapWithAttrCheck(function (size = 0) {
return this.put(new Circle())
.size(size)
.move(0, 0)