Skip to content

Commit

Permalink
chore: add test html file so I dont keep breaking production
Browse files Browse the repository at this point in the history
  • Loading branch information
asnewman committed Oct 5, 2024
1 parent 84fadc4 commit c53de78
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>example</title>
<script src="./index.js"></script>
</head>
<body class="">
<div id="ashjs"></div>
<script type="text/javascript">
const routes = {
"/": () => [
{
div: "example"
}
],
};
const events = {};

const ash = new window.Ash(routes, events);
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ function findInTree(tree, id) {

window.Ash = Ash;

export { getUrlInformation };
//export { getUrlInformation };

0 comments on commit c53de78

Please sign in to comment.