Skip to content

Commit f1962cd

Browse files
committed
Add vscode extension recommendations
1 parent 1fd91dd commit f1962cd

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"tobermory.es6-string-html", // for html in template strings
4+
"dbaeumer.vscode-eslint",
5+
"aaron-bond.better-comments"
6+
]
7+
}

src/ts/handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export class ModHandler extends UniqueKeyHandler<Mod<unknown>> {
329329

330330
// i dunno where to put these last two
331331
static addButtonClicked() {
332-
const popup = new AdvancedPopup(500,350,`<h1>Add Mod</h1>
332+
const popup = new AdvancedPopup(500,350,/*html*/`<h1>Add Mod</h1>
333333
<h5 style='color:red; margin-bottom:3px; margin-top:5px;'>WARNING!</h5>
334334
<h5 style='color:red; margin-top:0px; margin-bottom:0px;'>Adding mods without verifying their legitimacy can result in unintended side effects! We are not responsible for any damages that may be caused by mods!</h5>
335335
<h5 style='margin-top:5px; margin-bottom:0px;'>For information regarding mods, <a href='https://github.com/clickercookie/clickercookie.github.io/wiki/Modding' class='blue' target="_blank">read the documentation</a>.</h5>
@@ -349,7 +349,7 @@ export class ModHandler extends UniqueKeyHandler<Mod<unknown>> {
349349
}
350350

351351
static listButtonClicked() {
352-
const popup = new AdvancedPopup(300,350,`<h1>All Mods</h1>
352+
const popup = new AdvancedPopup(300,350,/*html*/`<h1>All Mods</h1>
353353
<p class='no-display' id='noModsMessage' style='font-size:13px; margin-top:7px; margin-bottom:0px;'>You have no mods installed!</p>
354354
<div id='modsList' class='mods-list'></div>
355355
<small class='no-display' id='removeModsMessage' style='margin:3px 8px 0 8px;'>To remove mods, refresh your page. (make sure to save!)</small>

0 commit comments

Comments
 (0)