From 26739916206f53a5c569c3f7e574baf05f354674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 27 Dec 2012 13:04:38 +0100 Subject: [PATCH] Have Path#_serializeFields inherit from Item#_serializeFields. --- src/path/Path.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path/Path.js b/src/path/Path.js index 765e1118..674d8798 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -24,10 +24,10 @@ // DOCS: Explain that path matrix is always applied with each transformation. var Path = this.Path = PathItem.extend(/** @lends Path# */{ _type: 'path', - _serializeFields: { + _serializeFields: Base.merge(Item.prototype._serializeFields, { segments: [], closed: false - }, + }), /** * Creates a new Path item and places it at the top of the active layer.