diff --git a/src/BarcodeParser.js b/src/BarcodeParser.js index 92e3186..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 */ -var parseBarcode = (function () { +const parseBarcode = (function () { 'use strict'; /** * This is the main routine provided by the parseBarcode library. It takes a string, @@ -1362,4 +1362,6 @@ var parseBarcode = (function () { return answer; } return parseBarcode; -}()); \ No newline at end of file +}()); + +export default parseBarcode;