Skip to content

Commit

Permalink
Hotfix for broken demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
We-Gold committed Jul 13, 2023
1 parent 046cd9a commit bb01d90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
deserializeStringToRaw,
fillWallsWithCells,
solveDStarLite,
structures,
} from "./lib"
import { East, North, South, West, cellIs, removeWall } from "./lib/helpers"

Expand Down Expand Up @@ -116,8 +115,6 @@ document.addEventListener("DOMContentLoaded", () => {

console.log(`Render: ${endTime - startTime}ms`)

console.log(structures)

// Render the updated d star path
const canvas2 = document.getElementById("demo-canvas-2")
const ctx2 = canvas2.getContext("2d")
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "algernon-js",
"author": "Weaver Goldman <we.goldm@gmail.com>",
"description": "Algernon is a JS library for efficiently generating, solving, and rendering mazes.",
"version": "0.2.3",
"version": "0.2.4",
"type": "module",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit bb01d90

Please sign in to comment.