Skip to content

Commit

Permalink
fixed javascript lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bcalford committed Dec 2, 2024
1 parent 2951661 commit 19b285a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export default {
await render_meshes(nv, model, disposer);
model.on("change:_meshes", () => render_meshes(nv, model, disposer));

nv.createEmptyDrawing();
nv.createEmptyDrawing();

// Any time we change the options, we need to update the nv object
// and redraw the scene.
// and redraw the scene.
model.on("change:_opts", () => {
nv.document.opts = { ...nv.opts, ...model.get("_opts") };
nv.drawScene();
Expand Down
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@niivue/niivue": "^0.46.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@biomejs/biome": "1.9.4",
"esbuild": "0.24.0",
"typescript": "^5.6.3"
}
Expand Down

0 comments on commit 19b285a

Please sign in to comment.