From 1bfafee0ca7aaa95b08d12a4a943f0065431fec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 2 Mar 2013 08:14:17 -0800 Subject: [PATCH] Use a default precision of three digits for exporting path data. --- src/path/Path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Path.js b/src/path/Path.js index a7b2595c..4b2a64b0 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -183,7 +183,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{ var segments = this._segments, style = this._style, format = Format.point, - precision = arguments[0], + precision = arguments[0] || 3, parts = []; // TODO: Add support for H/V and/or relative commands, where appropriate