diff --git a/src/path/Segment.js b/src/path/Segment.js index d4145173..bbfdfe06 100644 --- a/src/path/Segment.js +++ b/src/path/Segment.js @@ -119,11 +119,11 @@ var Segment = this.Segment = Base.extend({ }, getPath: function() { - return this._path; + return this._path || null; }, getIndex: function() { - return this._index; + return this._index !== undefined ? this._index : null; }, getCurve: function() {