From d58c31ebaea5389aa47ad87e6f868e083ef65127 Mon Sep 17 00:00:00 2001 From: gaspa85 Date: Sun, 22 Sep 2019 23:14:07 +0200 Subject: [PATCH] Update JsBarcode.all.js propose remove .toUpperCase() or insert in upper value every format of barcode --- dist/JsBarcode.all.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/JsBarcode.all.js b/dist/JsBarcode.all.js index 78377424..de7ec453 100644 --- a/dist/JsBarcode.all.js +++ b/dist/JsBarcode.all.js @@ -1568,7 +1568,7 @@ API.prototype.init = function () { this._errorHandler.wrapBarcodeCall(function () { var text = options.value; - var Encoder = _barcodes2.default[options.format.toUpperCase()]; + var Encoder = _barcodes2.default[options.format]; var encoded = encode(text, Encoder, options); render(renderProperty, encoded, options); @@ -3643,4 +3643,4 @@ var SVGRenderer = function () { exports.default = SVGRenderer; /***/ }) -/******/ ]); \ No newline at end of file +/******/ ]);