Explain compact = true in Project#_serialize()

This commit is contained in:
Jürg Lehni 2013-05-28 07:57:35 -07:00
parent 0b4bc678bc
commit f0f7a7f35c

View file

@ -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);
},