• 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
..
bucket-bar-test.coffee Loading commit data...
cross-frame-test.coffee Loading commit data...
document-test.js Loading commit data...
pdf-metadata-test.js Loading commit data...