aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-29 15:39:40 +0100
committerwout <wout@impinc.co.uk>2012-12-29 15:39:40 +0100
commit95c7db4d86c429ce4ade55b2f4fec96126640d11 (patch)
tree27735bb6dde7d33aedff157da78e95b462c80594 /README.md
parent5fc94f8c98602d8c5081e9f3c67cb409ff75eb56 (diff)
downloadsvg.js-95c7db4d86c429ce4ade55b2f4fec96126640d11.tar.gz
svg.js-95c7db4d86c429ce4ade55b2f4fec96126640d11.zip
Improved container
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3e278fc..2d1221b 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ _Note that this generates an `<ellipse>` element instead of a `<circle>`. This c
The polyline element defines a set of connected straight line segments. Typically, polyline elements define open shapes:
```javascript
-// polyline(x1, y1, x2, y2)
+// polyline('x,y x,y x,y')
var polyline = draw.polyline('10,20 30,40 50,60');
```
@@ -75,7 +75,7 @@ _Not unlike the `<circle>` element, the svg `<line>` element has not been implem
The polygon element, unlike the polyline element, defines a closed shape consisting of a set of connected straight line segments:
```javascript
-// polyline('x,y x,y x,y')
+// polygon('x,y x,y x,y')
var polygon = draw.polygon('10,20 30,40 50,60');
```