guard console.log call
This commit is contained in:
parent
491818bcc4
commit
98742f8af2
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ var WorkerClient = function(topLevelNamespaces, packagedJs, module, classname) {
|
|||
|
||||
var _self = this;
|
||||
this.$worker.onerror = function(e) {
|
||||
console.log(e);
|
||||
window.console && console.log && console.log(e);
|
||||
throw e;
|
||||
};
|
||||
this.$worker.onmessage = function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue