From 5a462f42b718b9d1b2349d6cdcd945e7fcea9a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 29 Oct 2013 09:40:17 +0100 Subject: [PATCH] Improve some comments / docs. --- examples/Paperjs.org/PathIntersections.html | 3 +++ src/item/Item.js | 2 +- src/project/Project.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/Paperjs.org/PathIntersections.html b/examples/Paperjs.org/PathIntersections.html index c00fcc05..6f84ab4a 100644 --- a/examples/Paperjs.org/PathIntersections.html +++ b/examples/Paperjs.org/PathIntersections.html @@ -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; diff --git a/src/item/Item.js b/src/item/Item.js index c0a2d1d3..cbe93a0c 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -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. diff --git a/src/project/Project.js b/src/project/Project.js index 67a26880..45b55407 100644 --- a/src/project/Project.js +++ b/src/project/Project.js @@ -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.