Skip to content

Commit 550ad8b

Browse files
authored
2.1.1
1 parent 87aa7aa commit 550ad8b

File tree

101 files changed

+392
-120
lines changed

Some content is hidden

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

101 files changed

+392
-120
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jsPDF
1+
# ![jsPDF](https://parall.ax/parallax-2016/img/svg/jspdf-logo.svg)
22

33
[![Build Status](https://saucelabs.com/buildstatus/jspdf)](https://saucelabs.com/beta/builds/526e7fda50bd4f97a854bf10f280305d)
44
[![Code Climate](https://codeclimate.com/repos/57f943855cdc43705e00592f/badges/2665cddeba042dc5191f/gpa.svg)](https://codeclimate.com/repos/57f943855cdc43705e00592f/feed)
@@ -29,7 +29,7 @@ yarn add jspdf
2929
Alternatively, load it from a CDN:
3030

3131
```html
32-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.1.0/jspdf.umd.min.js"></script>
32+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.1.1/jspdf.umd.min.js"></script>
3333
```
3434

3535
Or always get latest version via [unpkg](https://unpkg.com/#/)

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jspdf",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"homepage": "https://github.com/mrrio/jspdf",
55
"description": "PDF Document creation from JavaScript",
66
"main": [

dist/jspdf.es.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 2.1.0 Built on 2020-08-25T16:02:38.141Z
4+
* Version 2.1.1 Built on 2020-09-07T12:58:19.950Z
55
* CommitID 00000000
66
*
77
* Copyright (c) 2010-2020 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
@@ -6385,7 +6385,7 @@ jsPDF.API = {
63856385
* @type {string}
63866386
* @memberof jsPDF#
63876387
*/
6388-
jsPDF.version = "2.1.0";
6388+
jsPDF.version = "2.1.1";
63896389

63906390
/* global jsPDF */
63916391

@@ -19066,15 +19066,24 @@ function Deflater(options) {
1906619066
* @function
1906719067
* @param {HTMLElement|string} source The source HTMLElement or a string containing HTML.
1906819068
* @param {Object} [options] Collection of settings
19069-
* @param {string} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance
19069+
* @param {function} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance
19070+
* @param {number|array} [options.margin] Array of margins [left, bottom, right, top]
19071+
* @param {string} [options.filename] name of the file
19072+
* @param {HTMLOptionImage} [options.image] image settings when converting HTML to image
19073+
* @param {Html2CanvasOptions} [options.html2canvas] html2canvas options
19074+
* @param {jsPDF} [options.jsPDF] jsPDF instance
19075+
* @param {number} [options.x] x position on the PDF document
19076+
* @param {number} [options.y] y position on the PDF document
1907019077
*
1907119078
* @example
1907219079
* var doc = new jsPDF();
1907319080
*
1907419081
* doc.html(document.body, {
1907519082
* callback: function (doc) {
1907619083
* doc.save();
19077-
* }
19084+
* },
19085+
* x: 10,
19086+
* y: 10
1907819087
* });
1907919088
*/
1908019089
jsPDFAPI.html = function(src, options) {

dist/jspdf.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.es.min.js

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

dist/jspdf.es.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 2.1.0 Built on 2020-08-25T16:02:38.141Z
4+
* Version 2.1.1 Built on 2020-09-07T12:58:19.950Z
55
* CommitID 00000000
66
*
77
* Copyright (c) 2010-2020 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
@@ -6194,7 +6194,7 @@ jsPDF.API = {
61946194
* @type {string}
61956195
* @memberof jsPDF#
61966196
*/
6197-
jsPDF.version = "2.1.0";
6197+
jsPDF.version = "2.1.1";
61986198

61996199
/* global jsPDF */
62006200

@@ -18894,15 +18894,24 @@ function Deflater(options) {
1889418894
* @function
1889518895
* @param {HTMLElement|string} source The source HTMLElement or a string containing HTML.
1889618896
* @param {Object} [options] Collection of settings
18897-
* @param {string} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance
18897+
* @param {function} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance
18898+
* @param {number|array} [options.margin] Array of margins [left, bottom, right, top]
18899+
* @param {string} [options.filename] name of the file
18900+
* @param {HTMLOptionImage} [options.image] image settings when converting HTML to image
18901+
* @param {Html2CanvasOptions} [options.html2canvas] html2canvas options
18902+
* @param {jsPDF} [options.jsPDF] jsPDF instance
18903+
* @param {number} [options.x] x position on the PDF document
18904+
* @param {number} [options.y] y position on the PDF document
1889818905
*
1889918906
* @example
1890018907
* var doc = new jsPDF();
1890118908
*
1890218909
* doc.html(document.body, {
1890318910
* callback: function (doc) {
1890418911
* doc.save();
18905-
* }
18912+
* },
18913+
* x: 10,
18914+
* y: 10
1890618915
* });
1890718916
*/
1890818917
jsPDFAPI.html = function(src, options) {

dist/jspdf.node.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.min.js

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

dist/jspdf.node.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)