From 90665b65c9ce102c464bbf1d5c6a1aad8e5488b1 Mon Sep 17 00:00:00 2001 From: Eric Kachelmeyer Date: Fri, 14 Apr 2017 15:54:47 -0400 Subject: [PATCH] Removed the options argument from the ctor. --- jspdf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jspdf.js b/jspdf.js index 8f3177aca..4a5068f68 100644 --- a/jspdf.js +++ b/jspdf.js @@ -165,8 +165,8 @@ var jsPDF = (function(global) { * @constructor * @private */ - function jsPDF(orientation, unit, format, compressPdf, options) { - var options = options || {}; + function jsPDF(orientation, unit, format, compressPdf) { + var options = {}; if (typeof orientation === 'object') { options = orientation;