Skip to content

Commit c290d6c

Browse files
committed
2 parents 3495d2b + 4f90ff5 commit c290d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const normalizedPath = SVGPathCommander.normalizePath(path);
113113
114114
Reverse a path:
115115
```js
116-
const path = 'M0 0 H50';
116+
const path = SVGPathCommander.parsePathString('M0 0 H50');
117117
118118
const reversedPath = SVGPathCommander.reversePath(path);
119119
// result => [['M', 50, 0], ['H', 0]]

0 commit comments

Comments
 (0)