plugin-earlgrey
Version:
SystemJS plugin for compiling Earl-Grey
24 lines (23 loc) • 537 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>
<script src="build.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.message);
});
</script>
</body>
</html>