diff options
Diffstat (limited to 'src/mask.js')
-rw-r--r-- | src/mask.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mask.js b/src/mask.js index e7e94a4..5ffd790 100644 --- a/src/mask.js +++ b/src/mask.js @@ -5,11 +5,8 @@ SVG.Mask = function Mask() { this.attr('id', (this.id = 'svgjs_element_' + (SVG.did++))); }; -// Inherit from SVG.Element -SVG.Mask.prototype = new SVG.Element(); - -// Include the container object -SVG.extend(SVG.Mask, SVG.Container); +// Inherit from SVG.Container +SVG.Mask.prototype = new SVG.Container(); SVG.extend(SVG.Element, { |