steal-es6-module-loader
Version:
An ES6 Module Loader shim
30 lines (22 loc) • 578 B
HTML
<html>
<body></body>
<script src="test.js"></script>
<script>
// test promise polyfill
// delete window.Promise;
</script>
<script src="../node_modules/when/es6-shim/Promise.js"></script>
<script src="../dist/es6-module-loader.src.js"></script>
<script>
System.transpiler = 'traceur';
System.paths['traceur'] = '../node_modules/traceur/bin/traceur.js';
// System.traceurOptions = { classes: false };
</script>
<script>
// test tracing
System.trace = true;
</script>
<script>
runTests();
</script>