Skip to content

Commit

Permalink
Remove disabled web examples
Browse files Browse the repository at this point in the history
  • Loading branch information
victorb committed Aug 11, 2024
1 parent 083e42b commit 050dcbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions web-src/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import initMiner from './wasm/examples/miner.js'
import initCells from './wasm/examples/cells.js'
import initLemonade from './wasm/examples/resman.js'
import initNeumann from './wasm/examples/von_neumann.js'

import { highlightAll } from './3rd-party/speed-highlight.js'

const example = window.location.hash.substr(1) || "cells"
Expand All @@ -10,10 +9,6 @@ if (example === "miner") {
initMiner()
} else if (example === "cells") {
initCells()
} else if (example === "resman") {
initLemonade()
} else if (example === "von_neumann") {
initNeumann()
} else {
// impossible?!
}
Expand Down
2 changes: 0 additions & 2 deletions web-src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
<div id="menu">
<a href="#cells">Cells / Quickstart</a>
<a href="#miner">Miner / Longer plans</a>
<a href="#resman">Lemonade / Co-operation</a>
<a href="#von_neumann">Von Neumann / Player interaction</a>
</div>

<div id="wrapper">
Expand Down

0 comments on commit 050dcbd

Please sign in to comment.