2015-09-01 10:55:11 -07:00
|
|
|
$SCRIPTS$
|
|
|
|
|
2015-09-11 15:38:09 -07:00
|
|
|
System.config({
|
|
|
|
baseURL: '/',
|
|
|
|
defaultJSExtensions: true
|
|
|
|
});
|
2015-09-01 10:55:11 -07:00
|
|
|
|
|
|
|
System.import("examples/src/web_workers/message_broker/background_index")
|
|
|
|
.then(
|
|
|
|
function(m) {
|
|
|
|
console.log("running main");
|
|
|
|
try {
|
|
|
|
m.main();
|
|
|
|
} catch (e) {
|
|
|
|
console.error(e);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
function(error) { console.error("error loading background", error); });
|