mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
19 lines
567 B
HTML
19 lines
567 B
HTML
<!doctype html>
|
|
<script src="../../es6-module-loader/dist/es6-module-loader.js" type="text/javascript"></script>
|
|
<script src="../dist/system.js" type="text/javascript"></script>
|
|
<script>
|
|
System.paths = {
|
|
'*': 'https://registry.jspm.io/*.js',
|
|
'github:*': 'https://github.jspm.io/*.js',
|
|
'npm:*': 'https://npm.jspm.io/*.js',
|
|
'~/*': '*.js'
|
|
};
|
|
|
|
System.import('npm:voxel-demo').then(function(s) {
|
|
console.log('loaded');
|
|
}).catch(function(e) {
|
|
setTimeout(function() {
|
|
throw e;
|
|
}, 1);
|
|
})
|
|
</script> |