plugin-earlgrey
Version:
SystemJS plugin for compiling Earl-Grey
23 lines (22 loc) • 509 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SystemJS Earl-Grey plugin test</title>
<script src="jspm_packages/system.js"></script>
<script src="config.js"></script>
</head>
<body>
Wait for it...
<script>
System.import('test.eg!')
.then(function (test) {
var t = new test('Test');
document.body.innerHTML += t.go(3);
})
// .catch(function (err) {
// console.log('ERROR: ', err.stack);
// });
</script>
</body>
</html>