Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
chemicalcrux
/
satiate
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
3
Oczekujące zmiany
0
Wydania
5
Wiki
Aktywność
Przeglądaj źródła
Allow text to contain HTML tags
tags/v0.1.3
Fen Dweller
5 lat temu
rodzic
7b59b7919a
commit
2374ee0bdb
2 zmienionych plików
z
2 dodań
i
2 usunięć
Zunifikowany widok
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+1
-1
satiate.js
+1
-1
stories/demo.js
+ 1
- 1
satiate.js
Wyświetl plik
@@ -54,7 +54,7 @@ function print(lines) {
const log = document.querySelector("#log");
const log = document.querySelector("#log");
const div = document.createElement("div");
const div = document.createElement("div");
div.
textContent
= line;
div.
innerHTML
= line;
bigDiv.appendChild(div);
bigDiv.appendChild(div);
});
});
+ 1
- 1
stories/demo.js
Wyświetl plik
@@ -13,7 +13,7 @@ stories.push({
state.player.stats.number = {name: "Number", type: "counter", value: 0, max: 10, color: "rgb(255,255,255)"};
state.player.stats.number = {name: "Number", type: "counter", value: 0, max: 10, color: "rgb(255,255,255)"};
},
},
"intro": () => {
"intro": () => {
print(["don't fall down the stairs ok"]);
print(["
<b>
don't fall down the stairs ok
</b>
"]);
}
}
},
},
"sounds": [
"sounds": [
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz