aboutsummaryrefslogtreecommitdiffstats
path: root/src/rect.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-02-20 19:10:03 +0100
committerwout <wout@impinc.co.uk>2013-02-20 19:10:03 +0100
commitae878fd63077d4c95f2de9053a6f0951b55239eb (patch)
tree5dba7bd42a8b5702faeb6cc12d2b4d4099841e51 /src/rect.js
parent5020240e4029a61a9620f21d7be4d9764e7723d1 (diff)
downloadsvg.js-ae878fd63077d4c95f2de9053a6f0951b55239eb.tar.gz
svg.js-ae878fd63077d4c95f2de9053a6f0951b55239eb.zip
Created separate classes for SVG.ViewBox anSVG.BBox0.6
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