summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-07-23 11:44:50 +0200
committerwout <wout@impinc.co.uk>2014-07-23 11:44:50 +0200
commit94077ff77815f622f6ad0daebf26160ec33e0271 (patch)
tree12e9ab6df8e3fe699f2489ea3d57fe2b8b15239b /README.md
parent6ac0193538a6358d017875c3a4b183f76894daeb (diff)
downloadsvg.js-94077ff77815f622f6ad0daebf26160ec33e0271.tar.gz
svg.js-94077ff77815f622f6ad0daebf26160ec33e0271.zip
Moved SVG.invent to main svg.js file
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index a2fad1a..bce3833 100755
--- a/README.md
+++ b/README.md
@@ -785,7 +785,6 @@ _Javascript inheritance stack: `SVG.Use` < `SVG.Shape` < `SVG.Element`_
## Symbol
Not unlike the `group` element, the `symbol` element is a container element. The only difference between symbols and groups is that symbols are not rendered. Therefore a `symbol` element is ideal in combination with the `use` element:
-
```javascript
var symbol = draw.symbol()
symbol.rect(100, 100).fill('#f09')
@@ -795,7 +794,7 @@ var use = draw.use(symbol).move(200, 200)
__`returns`: `SVG.Symbol`__
-_Javascript inheritance stack: `SVG.Use` < `SVG.Container` < `SVG.Symbol`_
+_Javascript inheritance stack: `SVG.Symbol` < `SVG.Container` < `SVG.Element`_
## Referencing elements