-
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
Converting PDFFindBar and PDFFindController to classes #5007
Conversation
this.resumePageIdx = pageIdx; | ||
break; | ||
updateUIState: function PDFFindController_updateUIState(state, previous) { | ||
if (this.findBar === null) { |
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.
You could/should move this down and place it after if (this.integratedFind) { ... }
, since it really doesn't matter if this.findBar
is defined when the integrated find is used.
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.
/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/932b9477f0fa855/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/932b9477f0fa855/output.txt Total script time: 0.72 mins Published
|
Looks good to me. Thank you. |
Converting PDFFindBar and PDFFindController to classes
This PR:
viewer.js
,page_view.js
andtext_layer_builder.js
accordingly;Tip: https://github.com/mozilla/pdf.js/pull/5007/files?w=1 makes review much more pleasant.