Skip to content

Commit

Permalink
CODE128 (auto) does now have the highest priority.
Browse files Browse the repository at this point in the history
This means that CODE128 will always be choosen in the JsBarcode.all.min.js file if nothing else is specified
  • Loading branch information
lindell committed Mar 25, 2016
1 parent 9a3c6b9 commit b162bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barcodes/CODE128.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function CODE128C(string) {

//Required to register for both browser and nodejs
var register = function(core) {
core.register(CODE128AUTO, /^CODE128(.?AUTO)?$/);
core.register(CODE128AUTO, /^CODE128(.?AUTO)?$/, 10);
core.register(CODE128A, /^CODE128.?A$/i, 2);
core.register(CODE128B, /^CODE128.?B$/i, 3);
core.register(CODE128C, /^CODE128.?C$/i, 2);
Expand Down

0 comments on commit b162bc7

Please sign in to comment.