mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Merge pull request #9140 from Snuffleupagus/rm-console-polyfill
Remove the `console` polyfills
This commit is contained in:
commit
9e8cf448b0
2 changed files with 0 additions and 88 deletions
|
@ -1360,13 +1360,6 @@ var PDFWorker = (function PDFWorkerClosure() {
|
|||
}
|
||||
});
|
||||
|
||||
messageHandler.on('console_log', function (data) {
|
||||
console.log.apply(console, data);
|
||||
});
|
||||
messageHandler.on('console_error', function (data) {
|
||||
console.error.apply(console, data);
|
||||
});
|
||||
|
||||
messageHandler.on('ready', (data) => {
|
||||
worker.removeEventListener('error', onWorkerError);
|
||||
if (this.destroyed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue