Closed lennartp closed 7 years ago
The following line in adyen.encrypt.js seems to contain a typo. It (probably unintentionally) uses the bitwise OR operator here on line 1131:
adyen.encrypt.js
handlers.cvcHandler({target:elementsByName.cvc, originalEvent: ev, type : (ev|{}).type, isInitializing : (ev||{}).isInitializing})
(ev|{}).type should be (ev||{}).type - just like the other occurrence a couple characters to the right.
(ev|{}).type
(ev||{}).type
It doesn't produce errors during runtime, but the result of (ev|{}).type will always be undefined, not matter the value of ev.
undefined
ev
The following line in
adyen.encrypt.js
seems to contain a typo. It (probably unintentionally) uses the bitwise OR operator here on line 1131:(ev|{}).type
should be(ev||{}).type
- just like the other occurrence a couple characters to the right.It doesn't produce errors during runtime, but the result of
(ev|{}).type
will always beundefined
, not matter the value ofev
.