Skip to content

Commit

Permalink
fix viz page
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jun 27, 2024
1 parent f28746f commit b642db2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dist/earcut.dev.js"
],
"scripts": {
"pretest": "eslint src test/test.js bench/*.js",
"pretest": "eslint src test/test.js bench/*.js viz/viz.js",
"test": "node --test",
"build": "rollup -c",
"prepublishOnly": "npm run build-dev && npm run build-min",
Expand Down
4 changes: 1 addition & 3 deletions viz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
</head>
<body>
<canvas id="canvas"></canvas>
<script>module = {}</script>
<script src='../src/earcut.js'></script>
<script src='viz.js'></script>
<script type="module" src='viz.js'></script>
</body>
</html>
Loading

0 comments on commit b642db2

Please sign in to comment.