From 37735d884f12bfa19735c0c35b00be3889ec6687 Mon Sep 17 00:00:00 2001 From: Guillaume Hain Date: Wed, 17 Jul 2024 14:17:22 +0200 Subject: [PATCH 1/3] Update BarcodeParser.js --- src/BarcodeParser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BarcodeParser.js b/src/BarcodeParser.js index 92e3186..f5df945 100644 --- a/src/BarcodeParser.js +++ b/src/BarcodeParser.js @@ -14,7 +14,7 @@ * * encapsulating the barcode parsing function in an anonymous, self-executing function */ -var parseBarcode = (function () { +export default parseBarcode = (function () { 'use strict'; /** * This is the main routine provided by the parseBarcode library. It takes a string, @@ -1362,4 +1362,4 @@ var parseBarcode = (function () { return answer; } return parseBarcode; -}()); \ No newline at end of file +}()); From 3daf7f3dca1d17cffc59701cf2ce9979f205d04b Mon Sep 17 00:00:00 2001 From: Guillaume Hain Date: Wed, 17 Jul 2024 14:19:58 +0200 Subject: [PATCH 2/3] Update BarcodeParser.js --- src/BarcodeParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BarcodeParser.js b/src/BarcodeParser.js index f5df945..d844d63 100644 --- a/src/BarcodeParser.js +++ b/src/BarcodeParser.js @@ -14,7 +14,7 @@ * * encapsulating the barcode parsing function in an anonymous, self-executing function */ -export default parseBarcode = (function () { +export default const parseBarcode = (function () { 'use strict'; /** * This is the main routine provided by the parseBarcode library. It takes a string, From 8d5111c03548dc26a6c7b23b8a6fa3a391704e6b Mon Sep 17 00:00:00 2001 From: Guillaume Hain Date: Wed, 17 Jul 2024 14:25:55 +0200 Subject: [PATCH 3/3] Update BarcodeParser.js --- src/BarcodeParser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BarcodeParser.js b/src/BarcodeParser.js index d844d63..d0c42d1 100644 --- a/src/BarcodeParser.js +++ b/src/BarcodeParser.js @@ -14,7 +14,7 @@ * * encapsulating the barcode parsing function in an anonymous, self-executing function */ -export default const parseBarcode = (function () { +const parseBarcode = (function () { 'use strict'; /** * This is the main routine provided by the parseBarcode library. It takes a string, @@ -1363,3 +1363,5 @@ export default const parseBarcode = (function () { } return parseBarcode; }()); + +export default parseBarcode;