forked from os-ucsd/graffiti-wall
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (24 loc) · 715 Bytes
/
Copy pathindex.html
File metadata and controls
25 lines (24 loc) · 715 Bytes
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
<html>
<head>
<title>Graffiti Wall - ECE USC Open Source</title>
</head>
<body style="background-color:rgb(88, 42, 114);">
<div id="wall"></div>
<script type="module">
import {Inspector, Runtime} from "https://unpkg.com/@observablehq/notebook-runtime@1.0.1?module";
import notebook from 'https://api.observablehq.com/@asg017/graffiti-wall.js?key=546f60cad4f1ed3a';
let selectors = {
wall:'#wall',
}
Runtime.load(notebook, (variable) => {
let sel = selectors[variable.name]
if(sel) {
return new Inspector(document.querySelector(sel));
}
else {
return true
}
})
</script>
</body>
</html>