diff options
author | Rémi Tétreault <tetreault.remi@gmail.com> | 2017-02-17 22:23:51 -0500 |
---|---|---|
committer | Rémi Tétreault <tetreault.remi@gmail.com> | 2017-02-17 22:23:51 -0500 |
commit | a3c0018d969cc7539c561e9fed2cb1bae679d6cd (patch) | |
tree | 148c4334b6c32e4eb35ea8a1012820b9b57fd473 /src/textpath.js | |
parent | 0f21fd2aead7b6c409d0fb36cce55c56e9529a1a (diff) | |
download | svg.js-a3c0018d969cc7539c561e9fed2cb1bae679d6cd.tar.gz svg.js-a3c0018d969cc7539c561e9fed2cb1bae679d6cd.zip |
Make some change to the previous commit
Here is a list of the changes:
* Enhance the call to plot in the constructor of SVG.Path, SVG.Line,
SVG.Polyline and SVG.Polygon
* Rewrite the description of the tests of the method plot for SVG.TextPath,
SVG.Path, SVG.Line, SVG.Polyline and SVG.Polygon to make it more precise
* Remove the useless parens surrounding track in the method array
of SVG.TextPath
Diffstat (limited to 'src/textpath.js')
-rw-r--r-- | src/textpath.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textpath.js b/src/textpath.js index e0defc3..4750310 100644 --- a/src/textpath.js +++ b/src/textpath.js @@ -32,7 +32,7 @@ SVG.TextPath = SVG.invent({ , array: function() { var track = this.track() - return (track) ? track.array() : null + return track ? track.array() : null } // Plot path if any , plot: function(d) { |