summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsnowyplover <the.estuary@gmail.com>2015-11-15 05:58:06 -0800
committersnowyplover <the.estuary@gmail.com>2015-11-15 05:58:06 -0800
commitb568241b219009aafae7f2521d381a5a0187d63d (patch)
treec60179378f849b5452d47f0fa1d791a69de3c19b /README.md
parente5a0020d1a4e78fc31446996f287fb133bc67df5 (diff)
downloadsvg.js-b568241b219009aafae7f2521d381a5a0187d63d.tar.gz
svg.js-b568241b219009aafae7f2521d381a5a0187d63d.zip
Fix description of toParent()
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c626073..38301fd 100644
--- a/README.md
+++ b/README.md
@@ -1609,7 +1609,7 @@ rect.putIn(group) //-> returns group
__`returns`: `element`__
### toParent()
-Moves an element to a different parent (similar to `add`), but without changing its visual representation. All transformations are merged and applied to the element.
+Moves an element to a different parent (similar to `addTo`), but without changing its visual representation. All transformations are merged and applied to the element.
```javascript
rect.toParent(group) // looks the same as before