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";
|
"no use strict";
|
||||||
|
|
||||||
var console = {
|
var console = {
|
||||||
log: function(msg) {
|
log: function(msgs) {
|
||||||
postMessage({type: "log", data: msg});
|
postMessage({type: "log", data: arguments.join(" ")});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var window = {
|
var window = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue