Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Aug 16, 2019
1 parent 9bdab58 commit 43e5f07
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions js/pdf2image.js
Expand Up @@ -25,32 +25,12 @@ class Converter {
convertPDF(pdfFilePath) {
return generateConvertPromise(pdfFilePath, this.options);
}
/**
* Convert PDF list.
*
* @param {array} pdfList
*
* @return {Promise}
*/
convertPDFList(pdfList) {
let list = [];

for (let pdf of pdfList) {
list.add(generateConvertPromise(pdf, this.options));
}

return Promise.all(list);
}
}

module.exports.compileConverter = function(options) {
return new Converter(options);
};

module.exports.convertPDF = function(pdfFilePath, options = {}) {
return generateConvertPromise(pdfFilePath, processOptions(options));
};

/**
* Generate convert promise.
*
Expand Down

0 comments on commit 43e5f07

Please sign in to comment.