summaryrefslogtreecommitdiff
path: root/example/src/main/resources/index-opt.html
blob: 5abb47810810cd818af810998ea278f14cfdb6b6 (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();
</script>
</body>
</html>