From 19b285af1fabadeb2a33805f4173dd5c0d59278d Mon Sep 17 00:00:00 2001 From: bcalford Date: Mon, 2 Dec 2024 16:29:10 -0500 Subject: [PATCH] fixed javascript lint --- js/widget.ts | 4 ++-- package-lock.json | 3 ++- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/js/widget.ts b/js/widget.ts index 62fc234..eefc565 100644 --- a/js/widget.ts +++ b/js/widget.ts @@ -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(); diff --git a/package-lock.json b/package-lock.json index 861eae8..0bb93c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,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" } @@ -25,6 +25,7 @@ "integrity": "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==", "dev": true, "hasInstallScript": true, + "license": "MIT OR Apache-2.0", "bin": { "biome": "bin/biome" }, diff --git a/package.json b/package.json index 73a2669..64715da 100644 --- a/package.json +++ b/package.json @@ -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" }