aboutsummaryrefslogtreecommitdiffstats
path: root/src/rect.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/rect.js')
-rw-r--r--src/rect.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rect.js b/src/rect.js
index 3f42558..0a398be 100644
--- a/src/rect.js
+++ b/src/rect.js
@@ -1,6 +1,6 @@
-SVG.Rect = function Rect() {
- this.constructor.call(this, SVG.create('rect'));
-};
+SVG.Rect = function() {
+ this.constructor.call(this, SVG.create('rect'))
+}
// Inherit from SVG.Shape
-SVG.Rect.prototype = new SVG.Shape(); \ No newline at end of file
+SVG.Rect.prototype = new SVG.Shape() \ No newline at end of file