• Sheetal Umesh Kumar's avatar
    Move PDF metadata extraction into a separate service · 533b5f4b
    Sheetal Umesh Kumar authored
    In order to make it easier to change the document metadata retrieved for
    PDFs, this commit moves the code responsible for extracting that
    metadata into a separate (tested) service.
    
    We also remove our reliance on the `PDFViewerApplication.loading` which
    was removed from the bundled version of PDF.js in August 2015. Instead
    we simply check to see if `PDFViewerApplication.documentFingerprint` is
    available. If not, we listen for the first 'documentload' event before
    extracting metadata from the `PDFViewerApplication`.
    533b5f4b
Name
Last commit
Last update
..
test Loading commit data...
bucket-bar.coffee Loading commit data...
cross-frame.coffee Loading commit data...
pdf-metadata.js Loading commit data...
pdf.coffee Loading commit data...
toolbar.coffee Loading commit data...