Skip to content

Add inches, yards, meters to turf-distance units parameters#346

Merged
tmcw merged 2 commits intoTurfjs:masterfrom
trevorpburke:inches-yards-meters
Apr 22, 2016
Merged

Add inches, yards, meters to turf-distance units parameters#346
tmcw merged 2 commits intoTurfjs:masterfrom
trevorpburke:inches-yards-meters

Conversation

@trevorpburke
Copy link
Copy Markdown
Contributor

I'm unsure if I configured this correctly based on the equation.

This pull request in response to this issue.

case 'inches':
return c * 250905600;
case 'yards':
return c * 6969600
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The missing semicolon on this line is breaking tests

@trevorpburke
Copy link
Copy Markdown
Contributor Author

@tmcw Thanks for pointing that out! This was my first commit to an open source project – have never used tests before. Looks like it's all good now.

@tmcw
Copy link
Copy Markdown
Collaborator

tmcw commented Apr 22, 2016

🎉 first PR - nice job! Thanks, merging.

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

Successfully merging this pull request may close these issues.

2 participants