-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Convert the sidebar to ES6 syntax #8306
Conversation
fceba72
to
05fc1d7
Compare
/botio-linux preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added one small nit, but otherwise this looks/works just fine; thank you for the patch!
web/pdf_sidebar.js
Outdated
* the viewers (PDFViewer/PDFThumbnailViewer) are updated correctly. | ||
*/ | ||
// Callback used when the sidebar has been opened/closed, to ensure that | ||
// the viewers (PDFViewer/PDFThumbnailViewer) are updated correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I followed the same pattern as in PDFDocumentLoadingTask
when adding this comment, so unless you object strongly my preference would be to keep the formatting intact here :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in the new commit.
05fc1d7
to
26ad82f
Compare
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://107.21.233.14:8877/195f34d8af0d354/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/195f34d8af0d354/output.txt Total script time: 3.07 mins Published |
Convert the sidebar to ES6 syntax
Easier reviewing with https://github.com/mozilla/pdf.js/pull/8306/files?w=1.