Skip to content

Commit ba2a7e0

Browse files
committed
Add initial karma tests
2 parents 124d62b + 5a5f4b6 commit ba2a7e0

42 files changed

Lines changed: 19934 additions & 18445 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/jspdf.debug.js

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

dist/jspdf.min.js

Lines changed: 140 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/canvg_context2d/bar_graph_with_text_and_lines.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -664,11 +664,11 @@ <h1>Bar Graph With Text And Lines</h1>
664664
var c = pdf.canvas;
665665
c.width = 1000;
666666
c.height = 500;
667-
var ctx = c.getContext('2d')
668-
ctx.ignoreClearRect = true;
669-
ctx.fillStyle = 'green';
670-
ctx.fillRect(0, 0, 1200, 700);
671667

668+
var ctx = c.getContext('2d');
669+
ctx.ignoreClearRect = true;
670+
ctx.fillStyle = '#ffffff';
671+
ctx.fillRect(0, 0, 1000, 700);
672672

673673
//load a svg snippet in the canvas with id = 'drawingArea'
674674
canvg(c, document.getElementById('svg').outerHTML, {
@@ -683,7 +683,6 @@ <h1>Bar Graph With Text And Lines</h1>
683683
document.getElementById('source').innerText = makePdf().output();
684684
//makePdf().save();
685685
};
686-
687686
</script>
688687

689688
</body>

0 commit comments

Comments
 (0)