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

Improve API #1

Closed
neocotic opened this issue Aug 31, 2011 · 0 comments
Closed

Improve API #1

neocotic opened this issue Aug 31, 2011 · 0 comments
Assignees
Milestone

Comments

@neocotic
Copy link
Owner

I've realised that my naming choices for the API probably wasn't the best it could have been as generateCanvas and generateImage are quite long and since these functions may be generating a QR Code on an existing <canvas> or <img> element it can be quite misleading.

For these reasons I'm considering renaming the functions to simply QRCode.canvas and QRCode.image. I'll only deprecate the existing functions for now as to provide backwards compatibility and I will possibly remove them in a future release.

@ghost ghost assigned neocotic Aug 31, 2011
neocotic added a commit that referenced this issue Aug 31, 2011
@neocotic neocotic mentioned this issue Nov 30, 2011
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