summaryrefslogtreecommitdiffstats
path: root/src/pattern.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-02-02 11:14:21 +0100
committerwout <wout@impinc.co.uk>2013-02-02 11:14:21 +0100
commit7323d05f9d09141ec81dcd78d09bdba714c1c5dd (patch)
tree191d1a1e74f8f6b2ab5b7e473897e5daf8759dde /src/pattern.js
parent4a7588695a1b385f41acd6cbbfaf76b38b2a1439 (diff)
downloadsvg.js-7323d05f9d09141ec81dcd78d09bdba714c1c5dd.tar.gz
svg.js-7323d05f9d09141ec81dcd78d09bdba714c1c5dd.zip
Reworked SVG.Container inheritance
Diffstat (limited to 'src/pattern.js')
-rw-r--r--src/pattern.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/pattern.js b/src/pattern.js
index 9b37297..c12978e 100644
--- a/src/pattern.js
+++ b/src/pattern.js
@@ -5,11 +5,8 @@ SVG.Pattern = function Pattern(type) {
this.attr('id', (this.id = 'svgjs_element_' + (SVG.did++)));
};
-// Inherit from SVG.Element
-SVG.Pattern.prototype = new SVG.Element();
-
-// Include the container object
-SVG.extend(SVG.Pattern, SVG.Container);
+// Inherit from SVG.Container
+SVG.Pattern.prototype = new SVG.Container();
//
SVG.extend(SVG.Pattern, {