Skip to content

Commit aa16a39

Browse files
committed
Bump version
1 parent e6d4544 commit aa16a39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins.map(function(plugin){
1010
//Modify the save function to save to disk
1111
var fs = require('fs');
1212
jsPDF.API.save = function(filename, callback){
13-
fs.writeFile(filename, doc.output, callback);
13+
fs.writeFile(filename, this.output(), callback);
1414
}
1515

1616
module.exports = jsPDF;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-jspdf",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Use jsPDF in your node apps.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)