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";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
log: function(msgs) {
postMessage({type: "log", data: arguments.join(" ")});
}
};
var window = {