1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
pdf.js/test/types
Jonas Jenwald 0e92f995c9 Re-factor the EventBus and isInAutomation handling (PR 11655 follow-up)
Rather than forcing the "regular" `EventBus` to check and handle `isInAutomation` for every `dispatch` call, we can take advantage of subclassing instead.
Hence this PR introduces a new `AutomationEventBus` class, which extends `EventBus`, and is used by the default viewer when `isInAutomation === true`.
2021-09-18 09:59:53 +02:00
..
main.ts Re-factor the EventBus and isInAutomation handling (PR 11655 follow-up) 2021-09-18 09:59:53 +02:00
tsconfig.json Fix Viewer API definitions and include in CI 2021-08-25 18:45:46 -04:00