Mendeley import: Add log lines for timing pdf-worker
This commit is contained in:
parent
13cafe886e
commit
249d1aa0da
1 changed files with 2 additions and 0 deletions
|
@ -1184,7 +1184,9 @@ Zotero_Import_Mendeley.prototype._saveAnnotations = async function (annotations,
|
||||||
// PDFWorker needs 'id'
|
// PDFWorker needs 'id'
|
||||||
annotations.forEach(annotation => annotation.id = annotation.uuid);
|
annotations.forEach(annotation => annotation.id = annotation.uuid);
|
||||||
// Returns 'id', 'position', 'type', 'pageLabel', 'sortIndex', 'text' (for highlight)
|
// Returns 'id', 'position', 'type', 'pageLabel', 'sortIndex', 'text' (for highlight)
|
||||||
|
Zotero.debug("Processing annotations in " + file);
|
||||||
annotations = await Zotero.PDFWorker.processMendeleyAnnotations(file, annotations);
|
annotations = await Zotero.PDFWorker.processMendeleyAnnotations(file, annotations);
|
||||||
|
Zotero.debug("Done processing annotations");
|
||||||
|
|
||||||
for (let annotation of annotations) {
|
for (let annotation of annotations) {
|
||||||
// Ignore empty highlights
|
// Ignore empty highlights
|
||||||
|
|
Loading…
Reference in a new issue