summaryrefslogtreecommitdiffstats
path: root/src/poly.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/poly.js')
-rw-r--r--src/poly.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poly.js b/src/poly.js
index 269b112..ae86ac3 100644
--- a/src/poly.js
+++ b/src/poly.js
@@ -33,7 +33,7 @@ SVG.Polygon = SVG.invent({
})
// Add polygon-specific functions
-SVG.extend(SVG.Polyline, SVG.Polygon, {
+SVG.extend([SVG.Polyline, SVG.Polygon], {
// Get array
array: function() {
return this._array || (this._array = new SVG.PointArray(this.attr('points')))