Use a default precision of three digits for exporting path data.

This commit is contained in:
Jürg Lehni 2013-03-02 08:14:17 -08:00
parent ae14cedc7f
commit 1bfafee0ca

View file

@ -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