fork-openpgpjs/src/encoding
Artem Chudinov 068d38d832 Use RegExp.prototype.test instead of String.prototype.match where it is OK
There is no sense in using String.prototype.match if the retrieved matched results
are not used.

By the way, if a bit of performance (especially RAM usage) is preferred over
unification, then, obviously, conditions like
if (/SIGNED MESSAGE/.test(header[1])) {
can be changed to
if (header[1].indexOf('SIGNED MESSAGE') !== -1) {
2016-01-07 15:35:47 +01:00
..
armor.js Use RegExp.prototype.test instead of String.prototype.match where it is OK 2016-01-07 15:35:47 +01:00
base64.js Optimized memory footprint for encrypting and decrypting 2015-06-10 21:12:55 +02:00