Cordobo / angularx-qrcode

A fast and easy-to-use Angular QR Code Generator library with Ivy support
https://cordobo.github.io/angularx-qrcode/
MIT License
467 stars 126 forks source link

Support for IE 11 #72

Closed andreflourenco closed 4 years ago

andreflourenco commented 4 years ago

It seems that the component is not supported by IE 11 as it ends up crashing my whole app with the error:

SCRIPT1002: Syntax error
vendor.js (159836,20)

That error points to the "class" keyword (not supported by IE11) in the following line:

let QRCodeModule = class QRCodeModule {

Cordobo commented 4 years ago

Hi @andreflourenco

could you provide me with a stripped-down version of your repo so I can reproduce the error?

andreflourenco commented 4 years ago

Hi @Cordobo , I've just tried version 2.1.0 and the error disappeared. Thank you, and sorry for the trouble.