diff options
Diffstat (limited to 'src/nested.js')
-rw-r--r-- | src/nested.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nested.js b/src/nested.js index e69de29..6245ca6 100644 --- a/src/nested.js +++ b/src/nested.js @@ -0,0 +1,12 @@ + +SVG.Nested = function Nested() { + this.drag = new SVG.Draggable(this); + this.constructor.call(this, SVG.createElement('svg')); + this.setAttribute('overflow', 'visible'); +}; + +// inherit from SVG.Element +SVG.Nested.prototype = new SVG.Element(); + +// include the container object +SVG.Nested.include(SVG.Container);
\ No newline at end of file |