summaryrefslogtreecommitdiff
path: root/example/src/main/resources/index-dev.html
diff options
context:
space:
mode:
Diffstat (limited to 'example/src/main/resources/index-dev.html')
-rw-r--r--example/src/main/resources/index-dev.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/example/src/main/resources/index-dev.html b/example/src/main/resources/index-dev.html
new file mode 100644
index 0000000..b102613
--- /dev/null
+++ b/example/src/main/resources/index-dev.html
@@ -0,0 +1,19 @@
+<!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-fastopt.js"></script>
+<script type="text/javascript" src="/workbench.js"></script>
+<script>
+ ScalaJSExample().main();
+</script>
+</body>
+</html>