summaryrefslogtreecommitdiffstats
path: root/src/gradient.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient.js')
-rw-r--r--src/gradient.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient.js b/src/gradient.js
index a16c092..75237b4 100644
--- a/src/gradient.js
+++ b/src/gradient.js
@@ -49,7 +49,7 @@ SVG.Gradient = SVG.invent({
})
// Add animatable methods to both gradient and fx module
-SVG.extend(SVG.Gradient, SVG.FX, {
+SVG.extend([SVG.Gradient, SVG.FX], {
// From position
from: function(x, y) {
return (this._target || this).type == 'radialGradient' ?