summaryrefslogtreecommitdiffstats
path: root/src/nested.js
blob: a2944c1c0369b61fa77d09868e0aa4f26f649fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
SVG.Nested = function Nested() {
  this.constructor.call(this, SVG.create('svg'));
  this.attr('overflow', 'visible');
};

// inherit from SVG.Element
SVG.Nested.prototype = new SVG.Element();

// include the container object
SVG.extend(SVG.Nested, SVG.Container);