Skip to content

Commit 41ee830

Browse files
author
Daniel Dotsenko
committed
correcting output API misspelling. datauristrlng > dataurlstring
1 parent f36df09 commit 41ee830

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

jspdf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ var jsPDF = function(/** String */ orientation, /** String */ unit, /** String *
710710
switch (type){
711711
case undef: return buildDocument()
712712
case 'datauristring':
713-
case 'datauristrlng':
713+
case 'dataurlstring':
714714
return 'data:application/pdf;base64,' + this.base64encode(buildDocument())
715715
case 'datauri':
716716
case 'dataurl':
@@ -768,4 +768,4 @@ var jsPDF = function(/** String */ orientation, /** String */ unit, /** String *
768768
_addPage();
769769

770770
return _jsPDF
771-
}
771+
}

0 commit comments

Comments
 (0)