diff options
Diffstat (limited to 'src/path.js')
-rw-r--r-- | src/path.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/path.js b/src/path.js index b328d92..ef6ab03 100644 --- a/src/path.js +++ b/src/path.js @@ -13,4 +13,13 @@ SVG.extend(SVG.Path, { return this.attr('d', data || 'M0,0') } +}) + +// +SVG.extend(SVG.Container, { + // Create a wrapped path element + path: function(data, unbiased) { + return this.put(new SVG.Path(unbiased)).plot(data) + } + })
\ No newline at end of file |