Skip to content

Conversation

@fetus-hina
Copy link

In current minified code, the QRErrorCorrectLevel variable is not exported to global namespace.
Users must use option like {correctLevel:3, ...} to change error correct level to "Q".
So, it's not user-friendly.

This PR add support simple alphabet error correction level.
Users will be able to written as {correctLevel:"Q", ...}.

This PR is fixed #62 and related to #23.

As other approaches, export the QRErrorCorrectLevel variable to global namespace.
But might it not preferable, because it pollute the global namespace.

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.

ErrorCorrectLevel can not be changed

2 participants