Undoing the change that broke the firefox. onmessage is not a local variable, it's a global one.

This commit is contained in:
Zef Hemel 2011-12-21 15:58:34 +01:00
commit f2e1dfee50

View file

@ -120,7 +120,7 @@ function initSender() {
var main;
var sender;
var onmessage = function(e) {
onmessage = function(e) {
var msg = e.data;
if (msg.command) {
main[msg.command].apply(main, msg.args);