We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 653f94a + ef47c09 commit 67cd0d6Copy full SHA for 67cd0d6
libs/html2pdf.js
@@ -6,7 +6,7 @@
6
* http://opensource.org/licenses/mit-license
7
*/
8
9
-html2pdf = function(html,pdf,callback) {
+function html2pdf (html,pdf,callback) {
10
var canvas = pdf.canvas;
11
if (!canvas) {
12
alert('jsPDF canvas plugin not installed');
libs/require/config.js
@@ -13,6 +13,9 @@
13
* This allows a host page to simply include require.js and bootstrap the page with a single require statement.
14
15
16
+// Skip if Require.JS not installed
17
+if (typeof require === 'object') {
18
+
19
if (typeof require_baseUrl_override === 'undefined'){
20
require_baseUrl_override = '../';
21
}
@@ -113,3 +116,4 @@ require.config({
113
116
'html2pdf': 'libs/html2pdf'
114
117
115
118
});
119
+} // Require.JS
0 commit comments