diff options
Diffstat (limited to 'src/gradient.js')
-rw-r--r-- | src/gradient.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gradient.js b/src/gradient.js index 6554c92..07bb748 100644 --- a/src/gradient.js +++ b/src/gradient.js @@ -8,11 +8,8 @@ SVG.Gradient = function Gradient(type) { this.type = type; }; -// Inherit from SVG.Element -SVG.Gradient.prototype = new SVG.Element(); - -// Include the container object -SVG.extend(SVG.Gradient, SVG.Container); +// Inherit from SVG.Container +SVG.Gradient.prototype = new SVG.Container(); // SVG.extend(SVG.Gradient, { |