Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
itswadesh committed Jan 6, 2017
1 parent f0a9d2c commit 38b469f
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 123 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@

10 changes: 5 additions & 5 deletions index.js
Expand Up @@ -14,13 +14,13 @@ var data = {
"nascar": "Off"
};
// This does my job
pdfFiller.fillForm(sourcePDF, destinationPDF, data, function (err) {
if (err) throw err;
console.log("In callback (we're done).");
});
// pdfFiller.fillForm(sourcePDF, destinationPDF, data, function (err) {
// if (err) throw err;
// console.log("In callback (we're done).");
// });

// I want this function
pdfFiller.addWatermark(sourcePDF, watermarkPDF, destinationPDF, data, function (err) {
pdfFiller.addWatermark(sourcePDF, destinationPDF, watermarkPDF, function (err) {
if (err) throw err;
console.log("In callback (we're done).");
});
Expand Down
2 changes: 1 addition & 1 deletion node_modules/pdffiller/LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 47 additions & 38 deletions node_modules/pdffiller/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 2 additions & 79 deletions node_modules/pdffiller/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 38b469f

Please sign in to comment.