diff options
Diffstat (limited to 'src/nested.js')
-rw-r--r-- | src/nested.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nested.js b/src/nested.js new file mode 100644 index 0000000..a2944c1 --- /dev/null +++ b/src/nested.js @@ -0,0 +1,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);
\ No newline at end of file |