Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/html2pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* http://opensource.org/licenses/mit-license
*/

html2pdf = function(html,pdf,callback) {
function html2pdf (html,pdf,callback) {
var canvas = pdf.canvas;
if (!canvas) {
alert('jsPDF canvas plugin not installed');
Expand Down
4 changes: 4 additions & 0 deletions libs/require/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* This allows a host page to simply include require.js and bootstrap the page with a single require statement.
*/

// Skip if Require.JS not installed
if (typeof require === 'object') {

if (typeof require_baseUrl_override === 'undefined'){
require_baseUrl_override = '../';
}
Expand Down Expand Up @@ -113,3 +116,4 @@ require.config({
'html2pdf': 'libs/html2pdf'
}
});
} // Require.JS