• Robert Knight's avatar
    Support PDF.js >= 2.5.207 · f96af43d
    Robert Knight authored
    Since [1] PDF.js does not dispatch events to the DOM any more. Therefore
    the client needs to listen for the `documentloaded` event from
    `PDFApplicationViewer.eventBus`. The `eventBus` property is only
    available once the viewer is initialized, so the client needs to wait
    for `initializedPromise` to resolve before checking it.
    
    [1] https://github.com/mozilla/pdf.js/pull/11655
    f96af43d
Name
Last commit
Last update
..
test Loading commit data...
bucket-bar.coffee Loading commit data...
cross-frame.coffee Loading commit data...
document.js Loading commit data...
pdf-metadata.js Loading commit data...
pdf.coffee Loading commit data...