summaryrefslogtreecommitdiffstats
path: root/src/defs.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-17 19:39:52 +0100
committerwout <wout@impinc.co.uk>2012-12-17 19:39:52 +0100
commit8dfec33b4fa79b89d89a07e3ae92c5d5c5f8ce73 (patch)
tree7caa493057b543ac40008770fdb4df566995c4e7 /src/defs.js
parent6a013f19d6fa84e538d31bca5f1466c5f3479630 (diff)
downloadsvg.js-8dfec33b4fa79b89d89a07e3ae92c5d5c5f8ce73.tar.gz
svg.js-8dfec33b4fa79b89d89a07e3ae92c5d5c5f8ce73.zip
Code slimming
Diffstat (limited to 'src/defs.js')
-rw-r--r--src/defs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defs.js b/src/defs.js
index 4c252a5..4ba7c8c 100644
--- a/src/defs.js
+++ b/src/defs.js
@@ -14,7 +14,7 @@ SVG.Utils.merge(SVG.Defs, {
// define clippath
clipPath: function() {
- var e = new SVG.ClipPath();
+ var e = new SVG.Clip();
this.add(e);
return e;