mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-18 14:53:14 +00:00
30 lines
735 B
HTML
30 lines
735 B
HTML
<!doctype html>
|
|
<html>
|
|
<script src="../../es6-module-loader/lib/es6-module-loader.js" type="text/javascript"></script>
|
|
<script src="../loader.js" type="text/javascript"></script>
|
|
|
|
<script>
|
|
jspm.config({
|
|
map: {
|
|
'github:jquery/jquery@master/bower_components/sizzle/dist/sizzle': 'github:jquery/sizzle@master/dist/sizzle'
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script>
|
|
jspm.import('test-runner', function(runner) {
|
|
runner.execute([
|
|
{
|
|
name: 'Load jQuery from source',
|
|
run: function(complete) {
|
|
jspm.import('github:jquery/jquery@master/src/jquery', complete);
|
|
},
|
|
confirm: function($) {
|
|
if (!$.fn)
|
|
return 'jQuery not defined'
|
|
}
|
|
}
|
|
]);
|
|
});
|
|
</script>
|