mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-12-01 16:46:07 +01:00
Move the listener from the `PDFScriptingManagerComponents` constructor and into the `PDFScriptingManager.prototype.setDocument` method, such that it's possible to easily remove it when closing the document.