Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands is not defined #4

Open
IanVS opened this issue Feb 8, 2019 · 0 comments
Open

commands is not defined #4

IanVS opened this issue Feb 8, 2019 · 0 comments

Comments

@IanVS
Copy link

IanVS commented Feb 8, 2019

This line:

const { type: prevType, coords: prevCoords } = commands[i - 1]
is failing with commands is not defined when I do:

const path = 'm314.1 990c-65.3-135.9-30.5-213.8 19.7-287.1 55-80.3 69.1-159.9 69.1-159.9s43.2 56.2 25.9 144c76.3-85 90.8-220.4 79.2-272.2 172.6 120.6 246.4 381.7 147 575.2 528.6-299.1 131.5-746.6 62.4-797.1 23 50.4 27.4 135.8-19.1 177.2-78.9-298.8-273.8-360.1-273.8-360.1 23 154.1-83.5 322.7-186.3 448.6-3.6-61.5-7.4-103.9-39.8-162.7-7.3 111.6-92.6 202.6-115.7 314.5-31.3 151.5 23.5 262.4 231.4 379.6z';
const circPath = // Make a circle path with `circlePath`.
interpolatePath(circPath, path);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant