Skip to content

Commit

Permalink
fix: duplicate variables from code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nql5161 committed Sep 12, 2023
1 parent 7d9de79 commit bd239ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pdfparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export default class PDFParser extends EventEmitter {

#password = "";
#context = null; // service context object, only used in Web Service project; null in command line #pdfFilePath = null;
#pdfFileMTime = null;
#pdfFilePath = null; //current PDF file to load and parse, null means loading/parsing not started #data = null;
#pdfFileMTime = null; // last time the current pdf was modified, used to recognize changes and ignore cache #PDFJS = null;
#data = null; //if file read success, data is PDF content; if failed, data is "err" object #processFieldInfoXML = false;
Expand All @@ -52,7 +51,6 @@ export default class PDFParser extends EventEmitter {
constructor(context, needRawText, password) {
super();
this.#context = context;
this.#pdfFilePath = null;
this.#pdfFilePath = null; //current PDF file to load and parse, null means loading/parsing not started this.#pdfFileMTime = null;
this.#pdfFileMTime = null; // last time the current pdf was modified, used to recognize changes and ignore cache this.#data = null;
this.#data = null; //if file read success, data is PDF content; if failed, data is "err" object this.#processFieldInfoXML = false;
Expand Down

0 comments on commit bd239ec

Please sign in to comment.