diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-10-22 22:38:43 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-10-22 22:38:43 +0200 |
commit | 4505aeabed26fbcb7bb896f046c65da9e1bd65b1 (patch) | |
tree | 509f65b299aa58a95cd4f521db5212b83bfef74a /src/rect.js | |
parent | d6a4a9388944c71590e62018f1a466a5e82f7d95 (diff) | |
download | svg.js-4505aeabed26fbcb7bb896f046c65da9e1bd65b1.tar.gz svg.js-4505aeabed26fbcb7bb896f046c65da9e1bd65b1.zip |
fix rect
Diffstat (limited to 'src/rect.js')
-rw-r--r-- | src/rect.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect.js b/src/rect.js index 8f90e90..6c639fe 100644 --- a/src/rect.js +++ b/src/rect.js @@ -9,7 +9,7 @@ SVG.Rect = SVG.invent({ , construct: { // Create a rect element rect: function(width, height) { - return this.put(new SVG.Rect().size(width, height)) + return this.put(new SVG.Rect()).size(width, height) } } })
\ No newline at end of file |