Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-factor loadAndEnablePDFBug and PDFBug.init #13905

Merged

Commits on Aug 19, 2021

  1. Re-factor loadAndEnablePDFBug and PDFBug.init

    The `loadAndEnablePDFBug` helper function, in `web/app.js`, can be simplified a little bit by making it `async`. Furthermore, given how `PDFBug` is being used, we can also (slightly) re-factor `PDFBug.init` such that the `PDFBug.enable`-call is done internally rather than having to handle that manually at the call-site.
    
    (Finally, utilize `await` more in the `loadFakeWorker` helper function.)
    Snuffleupagus committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    bc8787b View commit details
    Browse the repository at this point in the history