Skip to content

Commit

Permalink
fix typo in code example of readme
Browse files Browse the repository at this point in the history
  • Loading branch information
g-harel committed Apr 13, 2020
1 parent 196f4f2 commit cde06e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.0.1

- Fix typo in code example of README

# 2.0.0

- **BREAKING** Editable SVG element creation function has moved to `blobs.xml(tagName)`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import * as blobs2 from "blobs/v2";
## SVG Path

```js
const svgPath = blobs2.svg({
const svgPath = blobs2.svgPath({
seed: Math.random(),
extraPoints: 8,
randomness: 4,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blobs",
"version": "2.0.0",
"version": "2.0.1",
"description": "Random blob generator",
"author": "g-harel",
"license": "MIT",
Expand Down

0 comments on commit cde06e6

Please sign in to comment.