diff options
author | wout <wout@impinc.co.uk> | 2012-12-21 17:28:17 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-21 17:28:17 +0100 |
commit | 5e4f748abffe48305e3d112e683d71cbec5155b3 (patch) | |
tree | 3c283536ea906a9260946168f6ad7b3891aa4f58 /src/defs.js | |
parent | b1516b2580dbdffd5ee68c75d4eb769b52faa100 (diff) | |
download | svg.js-5e4f748abffe48305e3d112e683d71cbec5155b3.tar.gz svg.js-5e4f748abffe48305e3d112e683d71cbec5155b3.zip |
Streamlined code
Diffstat (limited to 'src/defs.js')
-rw-r--r-- | src/defs.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/defs.js b/src/defs.js index f5753e1..2ba11e8 100644 --- a/src/defs.js +++ b/src/defs.js @@ -7,17 +7,4 @@ SVG.Defs = function Defs() { SVG.Defs.prototype = new SVG.Element(); // include the container object -SVG.extend(SVG.Defs, SVG.Container); - -// Add def-specific functions -SVG.extend(SVG.Defs, { - - // define clippath - clipPath: function() { - var e = new SVG.Clip(); - this.add(e); - - return e; - } - -});
\ No newline at end of file +SVG.extend(SVG.Defs, SVG.Container);
\ No newline at end of file |