Skip to content

Commit 571ae91

Browse files
committed
Version 4.3 - BWIPP 2024-01-03 with new border/bearer bars rendering
1 parent 86c9485 commit 571ae91

33 files changed

+158742
-156741
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ or as SVG (all platforms).
1414
1515
## Status
1616

17-
* Current bwip-js version is 4.2.0 (2024-01-02)
18-
* Current BWIPP version is 2023-04-03
17+
* Current bwip-js version is 4.3.0 (2024-03-12)
18+
* Current BWIPP version is 2024-01-03
1919
* Node.js compatibility: 0.12+
2020
* Browser compatibility: Edge, Firefox, Chrome
2121

@@ -377,7 +377,7 @@ The return value from `toSVG()` is a string containing a fully qualified SVG def
377377
including a `viewBox` attribute that defines the natural width and height of the image, in pixels.
378378

379379
```
380-
<svg version="1.1" viewBox="0 0 242 200" xmlns="http://www.w3.org/2000/svg">
380+
<svg viewBox="0 0 242 200" xmlns="http://www.w3.org/2000/svg">
381381
...
382382
</svg>
383383
```
@@ -393,7 +393,7 @@ span.style.display = 'inline-block';
393393
span.style.width = width + 'px';
394394
span.style.height = height + 'px';
395395
span.innerHTML = svg;
396-
document.body.addChild(span);
396+
document.body.appendChild(span);
397397
```
398398

399399
The `toSVG()` method links to all BWIPP encoders, so it cannot be used with

barcode.ps

13.9 KB
Binary file not shown.

bin/bwip-js.js

Lines changed: 213 additions & 213 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)