aboutsummaryrefslogtreecommitdiffstats
path: root/src/rect.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-17 16:55:16 +0100
committerwout <wout@impinc.co.uk>2012-12-17 16:55:16 +0100
commit6a013f19d6fa84e538d31bca5f1466c5f3479630 (patch)
tree3807acc4240bb1dbd5f25406b262a240351fa67a /src/rect.js
parent9ba8a780e0da4de4839df119f1d57d7f6327b1c6 (diff)
downloadsvg.js-6a013f19d6fa84e538d31bca5f1466c5f3479630.tar.gz
svg.js-6a013f19d6fa84e538d31bca5f1466c5f3479630.zip
Refactored code for readability and size
Diffstat (limited to 'src/rect.js')
-rw-r--r--src/rect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect.js b/src/rect.js
index b08d68e..f286c5d 100644
--- a/src/rect.js
+++ b/src/rect.js
@@ -1,6 +1,6 @@
SVG.Rect = function Rect() {
- this.constructor.call(this, SVG.createElement('rect'));
+ this.constructor.call(this, SVG.create('rect'));
};
// inherit from SVG.Shape