Improve some comments / docs.

This commit is contained in:
Jürg Lehni 2013-10-29 09:40:17 +01:00
parent 7209b2f977
commit 5a462f42b7
3 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,9 @@
var yesGroup = words.children.yes;
var noGroup = words.children.no;
// Importet SVG Groups have their transformContent flag turned off by
// default. This is required for SVG importing to work correctly. Turn
// it on now, so we don't have to deal with nested coordinate spaces.
yesGroup.transformContent = true;
noGroup.transformContent = true;

View file

@ -1626,7 +1626,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
};
}, /** @lends Item# */{
/**
* {@grouptitle Import / Export to JSON & SVG}
* {@grouptitle Importing To / Exporting From JSON & SVG}
*
* Exports (serializes) the item with its content and child items to a JSON
* data string.

View file

@ -290,7 +290,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
};
}, /** @lends Project# */{
/**
* {@grouptitle Import / Export to JSON & SVG}
* {@grouptitle Importing To / Exporting From JSON & SVG}
*
* Exports (serializes) the project with all its layers and child items to
* a JSON data string.