wallet-core/test/tests/worker-traceur.js
Florian Dold 9af485a584 Squashed 'thirdparty/systemjs/' content from commit 5ed69b6
git-subtree-dir: thirdparty/systemjs
git-subtree-split: 5ed69b6344e8fc1cd43bf758350b2236f57e1499
2016-10-10 03:50:11 +02:00

13 lines
279 B
JavaScript

importScripts('../../dist/system.src.js');
System.paths['traceur'] = '../../node_modules/traceur/bin/traceur.js';
System.import('es6-and-amd.js').then(function(m) {
postMessage({
amd: m.amd_module,
es6: m.es6_module
});
}, function(err) {
console.error(err);
});