From 486747d28e682d8f1b03182c9bfea166f73ac4f7 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 31 Aug 2022 13:33:56 -0500 Subject: [PATCH 1/3] Remove apparent stray brace --- nullboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nullboard.html b/nullboard.html index a0120dd..b4a1cf0 100644 --- a/nullboard.html +++ b/nullboard.html @@ -220,7 +220,7 @@ -ms-user-select: none; user-select: none; } -} + /***/ .clearfix:after, .board:after, From 478d6af8f3024bf1f4c6f39d83c0be8888221a58 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 31 Aug 2022 14:26:35 -0500 Subject: [PATCH 2/3] Fix typos found by eslint --- nullboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nullboard.html b/nullboard.html index b4a1cf0..ef70e13 100644 --- a/nullboard.html +++ b/nullboard.html @@ -1985,7 +1985,7 @@ var meta = this.boardIndex.get(board_id); if (! meta) - throw `Invalid board_id in nukeBoard(${board.id})`; + throw `Invalid board_id in nukeBoard(${board_id})`; var title = meta.title + ''; @@ -2038,7 +2038,7 @@ var meta = this.boardIndex.get(board_id); if (! meta) - throw `Invalid board_id in setBoardRevision(${board_id}, ${revision})`; + throw `Invalid board_id in setBoardUiSpot(${board_id}, ${ui_spot})`; meta.ui_spot = ui_spot; From a3cc607a8de91131be12c1ec7569b8954d79c41a Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 31 Aug 2022 14:28:49 -0500 Subject: [PATCH 3/3] Remove trailing whitespace --- nullboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nullboard.html b/nullboard.html index ef70e13..b66c023 100644 --- a/nullboard.html +++ b/nullboard.html @@ -1710,7 +1710,7 @@ return Math.min(Math.max(this, min), max); }; - /* + /* * add a blank line to push 'Prevent this page from opening ...' * tack-on from the actual message we are trying to display */ @@ -3475,7 +3475,7 @@ return "Required board properties are empty."; if (foo.format != NB.blobVersion) - return `Unsupported blob format "${foo.format}", expecting "${NB.blobVersion}".`; + return `Unsupported blob format "${foo.format}", expecting "${NB.blobVersion}".`; return null; }