mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Improve some comments / docs.
This commit is contained in:
parent
7209b2f977
commit
5a462f42b7
3 changed files with 5 additions and 2 deletions
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
var yesGroup = words.children.yes;
|
var yesGroup = words.children.yes;
|
||||||
var noGroup = words.children.no;
|
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;
|
yesGroup.transformContent = true;
|
||||||
noGroup.transformContent = true;
|
noGroup.transformContent = true;
|
||||||
|
|
||||||
|
|
|
@ -1626,7 +1626,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
};
|
};
|
||||||
}, /** @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
|
* Exports (serializes) the item with its content and child items to a JSON
|
||||||
* data string.
|
* data string.
|
||||||
|
|
|
@ -290,7 +290,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
|
||||||
};
|
};
|
||||||
}, /** @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
|
* Exports (serializes) the project with all its layers and child items to
|
||||||
* a JSON data string.
|
* a JSON data string.
|
||||||
|
|
Loading…
Reference in a new issue