Add varargs console.log to worker

This commit is contained in:
Lennart Kats 2012-09-13 16:49:46 +03:00
commit b02ba2b3d0

View file

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