aboutsummaryrefslogtreecommitdiffstats
path: root/src/textpath.js
diff options
context:
space:
mode:
authorRémi Tétreault <tetreault.remi@gmail.com>2017-02-17 22:23:51 -0500
committerRémi Tétreault <tetreault.remi@gmail.com>2017-02-17 22:23:51 -0500
commita3c0018d969cc7539c561e9fed2cb1bae679d6cd (patch)
tree148c4334b6c32e4eb35ea8a1012820b9b57fd473 /src/textpath.js
parent0f21fd2aead7b6c409d0fb36cce55c56e9529a1a (diff)
downloadsvg.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.js2
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) {