Skip to content

Some improvements for donate bitcoin #1

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

Merged

Conversation

esaezgil
Copy link
Contributor

@esaezgil esaezgil commented Nov 2, 2017

Refactor the code in order to:

  • Avoid Synchronous XMLHttpRequest on the main thread
  • Make self-contained functions
  • Rename the qrcode div to avoid clashes between element id and function name
  • Fail gracefuly when user input can not be handled
  • Add a default amount that is displayed on first load
  • Start improving code style

This is addressing esaezgil/esaezgil.github.io#2

 - Avoid Synchronous XMLHttpRequest on the main thread
 - Make self-contained functions
 - Rename the qrcode div to avoid clashes between element id and function name
 - Fail gracefuly when user input can not be handled
 - Add a default amount that is displayed on first load
@nrobinson2000 nrobinson2000 merged commit a1b5b56 into nrobinson2000:master Nov 2, 2017
@nrobinson2000
Copy link
Owner

Thanks for you contributions!

I made a few fixes, and have committed them. (I can add you to the credits if you want.)

Here is a preview of it in action: https://donate.nrobinson2000.me/

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