Skip to content

Commit

Permalink
Removed the options argument from the ctor.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirisec committed Apr 14, 2017
1 parent 459d6b2 commit 90665b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jspdf.js
Expand Up @@ -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;
Expand Down

0 comments on commit 90665b6

Please sign in to comment.