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.
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.