2015-08-14 15:06:16 -07:00
|
|
|
$SCRIPTS$
|
|
|
|
|
2015-08-18 10:32:23 -07:00
|
|
|
System.config({
|
|
|
|
baseURL: '/',
|
|
|
|
defaultJSExtensions: true,
|
|
|
|
paths: {
|
|
|
|
'rx': 'examples/src/web_workers/kitchen_sink/rx.js'
|
|
|
|
}
|
|
|
|
});
|
2015-08-14 15:06:16 -07:00
|
|
|
|
2015-07-28 16:38:55 -07:00
|
|
|
System.import("examples/src/web_workers/kitchen_sink/background_index")
|
2015-07-10 16:09:18 -07:00
|
|
|
.then(
|
|
|
|
function(m) {
|
|
|
|
console.log("running main");
|
|
|
|
try {
|
|
|
|
m.main();
|
|
|
|
} catch (e) {
|
|
|
|
console.error(e);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
function(error) { console.error("error loading background", error); });
|