Skip to content

Commit cde06e6

Browse files
committed
fix typo in code example of readme
1 parent 196f4f2 commit cde06e6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.0.1
2+
3+
- Fix typo in code example of README
4+
15
# 2.0.0
26

37
- **BREAKING** Editable SVG element creation function has moved to `blobs.xml(tagName)`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import * as blobs2 from "blobs/v2";
3030
## SVG Path
3131

3232
```js
33-
const svgPath = blobs2.svg({
33+
const svgPath = blobs2.svgPath({
3434
seed: Math.random(),
3535
extraPoints: 8,
3636
randomness: 4,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blobs",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Random blob generator",
55
"author": "g-harel",
66
"license": "MIT",

0 commit comments

Comments
 (0)