• 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
..
anchoring Loading commit data...
plugin Loading commit data...
test Loading commit data...
adder.html Loading commit data...
adder.js Loading commit data...
config.js Loading commit data...
guest.coffee Loading commit data...
highlighter.coffee Loading commit data...
host.coffee Loading commit data...
main.js Loading commit data...
pdf-sidebar.coffee Loading commit data...
range-util.js Loading commit data...
selections.js Loading commit data...
sidebar.coffee Loading commit data...