-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Remove a couple of closures in the src/display/api.js
file
#13813
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
Conversation
8d3ccc3
to
99c48df
Compare
This patch utilizes the same approach as used in lots of other parts of the code-base, which thus *slightly* reduces the size of this code. By removing some of the (current) indirection, we can also simplify the JSDocs a little bit. Looking at the `gulp jsdoc` output, this actually seem to *improve* the documentation for this class.
This patch utilizes the same approach as used in lots of other parts of the code-base, which thus *slightly* reduces the size of this code.
…orkerMessageHandler`
99c48df
to
5fac0a4
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/d7a406e0711f6ae/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://3.101.106.178:8877/997b4d069de1994/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/d7a406e0711f6ae/output.txt Total script time: 33.45 mins
Image differences available at: http://54.67.70.0:8877/d7a406e0711f6ae/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/997b4d069de1994/output.txt Total script time: 39.14 mins
Image differences available at: http://3.101.106.178:8877/997b4d069de1994/reftest-analyzer.html#web=eq.log |
Thanks! |
Please refer to the individual commit messages for additional details.
Also, note that this patch-series still leaves the
PDFWorkerClosure
intact. The reason is partly that the code is less straightforward to re-factor in this way, and more importantly thatPDFWorker
is exposed in the public API and I really didn't want to accidentally make any internal state visible to the outside. This could possibly be improved upon if/when we've started using static class fields (currently blocked on ESLint support).