add "find" images; function name fix
This commit is contained in:
parent
c85ec052b1
commit
3bde084ffd
3 changed files with 752 additions and 2 deletions
|
@ -650,7 +650,7 @@ var PDFDoc = (function PDFDocClosure() {
|
|||
throw data.error;
|
||||
}, this);
|
||||
|
||||
messageHandler.on('text_extracted', function pdfDocError(data) {
|
||||
messageHandler.on('text_extracted', function pdfTextExtracted(data) {
|
||||
var index = data[0];
|
||||
if (this.textExtracted)
|
||||
this.textExtracted(index);
|
||||
|
|
|
@ -203,7 +203,7 @@ var WorkerMessageHandler = {
|
|||
|
||||
function indexPage(pageNum) {
|
||||
if (pageNum > numPages) {
|
||||
console.log('text indexing=: time=%dms', Date.now() - start);
|
||||
console.log('text indexing: time=%dms', Date.now() - start);
|
||||
|
||||
handler.send('text_extracted', [index]);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue