Add varargs console.log to worker
This commit is contained in:
parent
453df3352d
commit
b02ba2b3d0
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
"no use strict";
|
||||
|
||||
var console = {
|
||||
log: function(msg) {
|
||||
postMessage({type: "log", data: msg});
|
||||
log: function(msgs) {
|
||||
postMessage({type: "log", data: arguments.join(" ")});
|
||||
}
|
||||
};
|
||||
var window = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue