"use strict";
if (typeof console == 'undefined') {
this.console = {
error: function(e){
postMessage(JSON.stringify({
type: 'error',
message: e.message,
stack: e.stack
}));
},
log: function(message){
postMessage(JSON.stringify({
type: 'log',
message: message
}));
}
}
}
console.log('worker BEGIN');
var global = {};
importScripts("phantomjs-shims.js");
try {
importScripts("../../build/react.js");
} catch (e) {
console.error(e);
}
postMessage(JSON.stringify({
type: 'done'
}));
console.log('worker END');