blob: 4f1f784c3d32f05c922822c9e3312f3a6ef94bb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html>
<head>
<title>Example Scala.js application</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body style="margin: 0px">
<div>
<canvas style="display: block" id="canvas" width="255" height="255"/>
</div>
<script type="text/javascript" src="../example-opt.js"></script>
<script>
ScalaJSExample().main(document.getElementById('canvas'));
</script>
</body>
</html>
|