mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Explain compact = true in Project#_serialize()
This commit is contained in:
parent
0b4bc678bc
commit
f0f7a7f35c
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
|
|||
// into the active project automatically. We might want to add proper
|
||||
// project serialization later, but deserialization of a layers array
|
||||
// will always work.
|
||||
// Pass true for compact, so 'Project' does not get added as the class
|
||||
return Base.serialize(this.layers, options, true, dictionary);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue