systemjs/test/jspm-tests.html
2014-03-04 15:13:31 -08:00

37 lines
954 B
HTML

<!doctype html>
<html>
<script>
// window.Promise = null
</script>
<script src="../../es6-module-loader/tmp/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',
'~/*': '*.js',
'github:*': 'https://github.jspm.io/*.js',
'npm:*': 'https://npm.jspm.io/*.js',
'cdnjs:*': 'https://cdnjs.cloudflare.com/ajax/libs/*.js'
};
</script>
<!-- <script src="../dist/system.min.js" type="text/javascript"></script> -->
<script>
System.import('~/test-runner').then(function(runner) {
runner.execute([
{
name: 'Font plugin',
run: function(complete, err) {
System.import('#google VT323 !font').then(complete, err);
},
confirm: function(m) {
}
}
]);
}, function(err) {
setTimeout(function() {
throw err;
}, 1);
});
</script>