forked from revery-ui/revery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (30 loc) · 938 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!doctype html>
<html>
<head>
<title>This is the title of the webpage!</title>
<style>
html, body {
margin: 0px;
padding: 0px;
background-color: #212733;
}
</style>
</head>
<body>
<script src="gl-matrix-min.js"></script>
<script>
// Compiled Examples.bc.js does a check for require,
// but it's not needed during runtime.
window.require = false;
</script>
<script>
// If we're hosted in an iframe, we'll listen to changes and 'postMessage' them out
if (window.parent) {
window["__revery_playground_example_notify_changed"] = (s) => {
window.parent.postMessage({ type: "example.switch", payload: s}, "*");
}
}
</script>
<script src="Examples.bc.js"></script>
</body>
</html>