-
Notifications
You must be signed in to change notification settings - Fork 284
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
Issue 1304 change var to const/let #1306
Issue 1304 change var to const/let #1306
Conversation
Thanks for opening this pull request! |
examples/js/local.js
Outdated
@@ -35,7 +35,7 @@ document.addEventListener('DOMContentLoaded', uploadFiles); | |||
|
|||
// display uploaded image | |||
const loadMap = (image) => { | |||
map.whenReady(function() { | |||
map.whenReady(function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jenny-alexander , this is looking good. I noticed you added some spaces on this line, 58 and 73. Its not a big deal but we have the previous style across the other js files and maybe we should keep the same here. What do you think?
Thanks for working on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @cesswairimu, thank you for your feedback. I changed my code editor preferences to not format on save. Can you please check again that the changes are as requested?
Thanks.
Merge branch 'fix-issue-1304-change-var' of https://github.com/jenny-alexander/Leaflet.DistortableImage into fix-issue-1304-change-var
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 🎉
Thanks @jenny-alexander
Congrats on merging your first pull request! 🙌🎉⚡️ Help others take their first stepNow that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step. 🙌 Try looking at this list of `first-timers-only` issues, and see if someone else is waiting for feedback, or even stuck! 😕 People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! 😄 🎉 Read about how to help support another newcomer here, or find other ways to offer mutual support here. |
Congratulations on your merge @jenny-alexander |
Fixes #1304 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
grunt test
If tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!