diff options
Diffstat (limited to 'src/boxes.js')
-rw-r--r-- | src/boxes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boxes.js b/src/boxes.js index ce9dc48..463cdda 100644 --- a/src/boxes.js +++ b/src/boxes.js @@ -126,7 +126,7 @@ SVG.Box = SVG.invent({ } }) -SVG.extend(SVG.Doc, SVG.Nested, SVG.Symbol, SVG.Image, SVG.Pattern, SVG.Marker, SVG.ForeignObject, SVG.View, { +SVG.extend([SVG.Doc, SVG.Nested, SVG.Symbol, SVG.Image, SVG.Pattern, SVG.Marker, SVG.ForeignObject, SVG.View], { viewbox: function(x, y, width, height) { // act as getter if(x == null) return new SVG.Box(this.attr('viewBox')) |