diff options
Diffstat (limited to 'src/path.js')
-rw-r--r-- | src/path.js | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/path.js b/src/path.js index 4f53892..ab5221a 100644 --- a/src/path.js +++ b/src/path.js @@ -3,19 +3,11 @@ SVG.Path = function() { } // Inherit from SVG.Shape -SVG.Path.prototype = new SVG.Shape() +SVG.Path.prototype = new SVG.Shape SVG.extend(SVG.Path, { - // Move over x-axis - x: function(x) { - return this.transform('x', x) - } - // Move over y-axis -, y: function(y) { - return this.transform('y', y) - } - // Set path data -, plot: function(data) { + // Private: Native plot + _plot: function(data) { return this.attr('d', data || 'M0,0') } |