Merge pull request #66 from rpavlik/eslint

Eslint fixes
This commit is contained in:
Alexander Pankratov
2023-11-05 16:10:17 +01:00
committed by GitHub

View File

@@ -221,7 +221,7 @@
-ms-user-select: none;
user-select: none;
}
}
/***/
.clearfix:after,
.board:after,
@@ -1711,7 +1711,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
*/
@@ -1986,7 +1986,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 + '';
@@ -2039,7 +2039,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;
@@ -3476,7 +3476,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;
}