mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Use correct defaults for #pathData serialization.
This commit is contained in:
parent
9379b37d26
commit
b649240696
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
var CompoundPath = this.CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
var CompoundPath = this.CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
||||||
_type: 'compoundpath',
|
_type: 'compoundpath',
|
||||||
_serializeFields: {
|
_serializeFields: {
|
||||||
pathData: null
|
pathData: ''
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
||||||
_type: 'path',
|
_type: 'path',
|
||||||
_serializeFields: {
|
_serializeFields: {
|
||||||
pathData: null
|
pathData: ''
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue