Barcode Generation
This commit is contained in:
17
node_modules/jsbarcode/bin/help/fixOptions.js
generated
vendored
Executable file
17
node_modules/jsbarcode/bin/help/fixOptions.js
generated
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = fixOptions;
|
||||
|
||||
|
||||
function fixOptions(options) {
|
||||
// Fix the margins
|
||||
options.marginTop = options.marginTop || options.margin;
|
||||
options.marginBottom = options.marginBottom || options.margin;
|
||||
options.marginRight = options.marginRight || options.margin;
|
||||
options.marginLeft = options.marginLeft || options.margin;
|
||||
|
||||
return options;
|
||||
}
|
||||
Reference in New Issue
Block a user