Improve documentation of #importSVG() methods.

This commit is contained in:
Jürg Lehni 2013-10-20 17:14:14 +02:00
parent 61ecf44140
commit 160fe25cd1
2 changed files with 6 additions and 6 deletions

View file

@ -1659,12 +1659,12 @@ var Item = Base.extend(Callback, /** @lends Item# */{
*/
/**
* Converts the SVG node and all its child nodes into Paper.js items and
* adds them as children to the this item.
* Converts the provided SVG content into Paper.js items and adds them to
* the this item's children list.
*
* @name Item#importSVG
* @function
* @param {SVGSVGElement} node the SVG node to import
* @param {SVGSVGElement|String} svg the SVG content to import
* @return {Item} the imported Paper.js parent item
*/

View file

@ -325,12 +325,12 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
*/
/**
* Converts the SVG node and all its child nodes into Paper.js items and
* adds them to the active layer of this project.
* Converts the provided SVG content into Paper.js items and adds them to
* the active layer of this project.
*
* @name Project#importSVG
* @function
* @param {SVGSVGElement} node the SVG node to import
* @param {SVGSVGElement|String} svg the SVG content to import
* @return {Item} the imported Paper.js parent item
*/