Barcode.js 426 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  6. var Barcode = function Barcode(data, options) {
  7. _classCallCheck(this, Barcode);
  8. this.data = data;
  9. this.text = options.text || data;
  10. this.options = options;
  11. };
  12. exports.default = Barcode;