Skip to content

Commit a34ca2f

Browse files
committed
Build v0.8.1
1 parent 3be4900 commit a34ca2f

File tree

7 files changed

+17
-13
lines changed

7 files changed

+17
-13
lines changed

dist/html2pdf.bundle.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* html2pdf v0.8.0
2+
* html2pdf.js v0.8.1
33
* Copyright (c) 2017 Erik Koopmans
44
* Released under the MIT License.
55
*/
@@ -5065,7 +5065,8 @@ jspdf_min.getPageSize = function (orientation, unit, format) {
50655065

50665066
// Determine the type of a variable/object.
50675067
var objType = function objType(obj) {
5068-
if (typeof obj === 'undefined') return 'undefined';else if (typeof obj === 'string' || obj instanceof String) return 'string';else if (typeof obj === 'number' || obj instanceof Number) return 'number';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') return 'object';else return 'unknown';
5068+
var type = typeof obj === 'undefined' ? 'undefined' : _typeof(obj);
5069+
if (type === 'undefined') return 'undefined';else if (type === 'string' || obj instanceof String) return 'string';else if (type === 'number' || obj instanceof Number) return 'number';else if (type === 'function' || obj instanceof Function) return 'function';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if (type === 'object') return 'object';else return 'unknown';
50695070
};
50705071

50715072
// Create an HTML element with optional className, innerHTML, and style.

dist/html2pdf.bundle.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/html2pdf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* html2pdf v0.8.0
2+
* html2pdf.js v0.8.1
33
* Copyright (c) 2017 Erik Koopmans
44
* Released under the MIT License.
55
*/
@@ -124,7 +124,8 @@ jsPDF.getPageSize = function (orientation, unit, format) {
124124

125125
// Determine the type of a variable/object.
126126
var objType = function objType(obj) {
127-
if (typeof obj === 'undefined') return 'undefined';else if (typeof obj === 'string' || obj instanceof String) return 'string';else if (typeof obj === 'number' || obj instanceof Number) return 'number';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') return 'object';else return 'unknown';
127+
var type = typeof obj === 'undefined' ? 'undefined' : _typeof(obj);
128+
if (type === 'undefined') return 'undefined';else if (type === 'string' || obj instanceof String) return 'string';else if (type === 'number' || obj instanceof Number) return 'number';else if (type === 'function' || obj instanceof Function) return 'function';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if (type === 'object') return 'object';else return 'unknown';
128129
};
129130

130131
// Create an HTML element with optional className, innerHTML, and style.

dist/html2pdf.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/include/html2pdf.es.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* html2pdf v0.8.0
2+
* html2pdf.js v0.8.1
33
* Copyright (c) 2017 Erik Koopmans
44
* Released under the MIT License.
55
*/
@@ -119,7 +119,8 @@ jsPDF.getPageSize = function (orientation, unit, format) {
119119

120120
// Determine the type of a variable/object.
121121
var objType = function objType(obj) {
122-
if (typeof obj === 'undefined') return 'undefined';else if (typeof obj === 'string' || obj instanceof String) return 'string';else if (typeof obj === 'number' || obj instanceof Number) return 'number';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') return 'object';else return 'unknown';
122+
var type = typeof obj === 'undefined' ? 'undefined' : _typeof(obj);
123+
if (type === 'undefined') return 'undefined';else if (type === 'string' || obj instanceof String) return 'string';else if (type === 'number' || obj instanceof Number) return 'number';else if (type === 'function' || obj instanceof Function) return 'function';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if (type === 'object') return 'object';else return 'unknown';
123124
};
124125

125126
// Create an HTML element with optional className, innerHTML, and style.

dist/require/html2pdf.cjs.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* html2pdf v0.8.0
2+
* html2pdf.js v0.8.1
33
* Copyright (c) 2017 Erik Koopmans
44
* Released under the MIT License.
55
*/
@@ -123,7 +123,8 @@ jsPDF.getPageSize = function (orientation, unit, format) {
123123

124124
// Determine the type of a variable/object.
125125
var objType = function objType(obj) {
126-
if (typeof obj === 'undefined') return 'undefined';else if (typeof obj === 'string' || obj instanceof String) return 'string';else if (typeof obj === 'number' || obj instanceof Number) return 'number';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') return 'object';else return 'unknown';
126+
var type = typeof obj === 'undefined' ? 'undefined' : _typeof(obj);
127+
if (type === 'undefined') return 'undefined';else if (type === 'string' || obj instanceof String) return 'string';else if (type === 'number' || obj instanceof Number) return 'number';else if (type === 'function' || obj instanceof Function) return 'function';else if (!!obj && obj.constructor === Array) return 'array';else if (obj && obj.nodeType === 1) return 'element';else if (type === 'object') return 'object';else return 'unknown';
127128
};
128129

129130
// Create an HTML element with optional className, innerHTML, and style.

package-lock.json

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)