Skip to content

Commit b6ef877

Browse files
committed
Changed variable names
1 parent 0e15e6e commit b6ef877

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/demo.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
// import "./style.css";
22
import { WebViewer } from "@rerun-io/web-viewer";
33

4-
const rrd =
5-
new URLSearchParams(location.search).get("url") ||
6-
"https://app.rerun.io/version/0.22.0/examples/structure_from_motion.rrd";
7-
const parentElement = document.getElementById("demo");
4+
const rrd = "https://app.rerun.io/version/0.22.0/examples/structure_from_motion.rrd";
5+
const parent = document.getElementById("demo");
86

97
const viewer = new WebViewer();
10-
viewer.start(rrd, parentElement, {
8+
viewer.start(rrd, parent, {
119
// width: "100%",
1210
// height: "100%",
1311
});

0 commit comments

Comments
 (0)