Have Path#_serializeFields inherit from Item#_serializeFields.

This commit is contained in:
Jürg Lehni 2012-12-27 13:04:38 +01:00
parent 8c33e5be88
commit 2673991620

View file

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