Merge pull request #9140 from Snuffleupagus/rm-console-polyfill

Remove the `console` polyfills
This commit is contained in:
Tim van der Meij 2017-11-18 15:49:19 +01:00 committed by GitHub
commit 9e8cf448b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 88 deletions

View file

@ -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) {