Skip to content

Commit 5b9445e

Browse files
author
Terence Eden
committed
Fix pnpm
1 parent a2839da commit 5b9445e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

images/svg/pnpm.svg

Lines changed: 4 additions & 2 deletions
Loading

src/sti/templates/libraries.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
for (let i = 0; i < 10; ++i) {
2727
let rand = Math.floor(Math.random()*tiles.length);
2828
let tile = tiles[rand];
29-
// Prevent duplicates.
30-
tiles.splice(rand,1);
29+
// Prevent duplicates. Doesn't work on NodeList :-(
30+
// tiles.splice(rand,1);
3131
let sample = `<img alt="${tile.ariaLabel}" height="64" width="64" src="atlas.svg#${tile.id}">\n`;
3232
table.insertAdjacentHTML("beforeend", `<tr><td><code>${sample.replace(/</g, "&lt;")}</code></td><td>${sample}</td></tr>\n`)
3333
}

0 commit comments

Comments
 (0)