Skip to content

Commit 7dd429a

Browse files
committed
improve cheatsheet
1 parent 0afea97 commit 7dd429a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

public/about.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h1>LITECANVAS</h1>
190190

191191
<h2>Hello World</h2>
192192

193-
<pre><code class="language-html">&lt;!-- create a text file named "index.html" and open it your browser --&gt;
193+
<pre><code class="language-html" onclick="selectText(this)">&lt;!-- create a text file named "index.html" and open it your browser --&gt;
194194
&lt;!DOCTYPE html&gt;
195195
&lt;html&gt;
196196
&lt;body&gt;
@@ -213,7 +213,7 @@ <h2>Hello World</h2>
213213

214214
<h2>Basic boilerplate</h2>
215215

216-
<pre><code class="language-typescript">litecanvas({
216+
<pre><code class="language-typescript" onclick="selectText(this)">litecanvas({
217217
loop: {
218218
init, update, draw, resized,
219219
tap, tapping, untap, tapped
@@ -719,7 +719,7 @@ <h3>Public assets</h3>
719719
>
720720
</p>
721721

722-
<pre><code class="language-typescript">let sprites;
722+
<pre><code class="language-typescript" onclick="selectText(this)">let sprites;
723723

724724
litecanvas({
725725
pixelart: true
@@ -758,7 +758,7 @@ <h3>Public assets</h3>
758758
>
759759
</p>
760760

761-
<pre><code class="language-typescript">litecanvas()
761+
<pre><code class="language-typescript" onclick="selectText(this)">litecanvas()
762762

763763
function init() {
764764
// first, load the font

public/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cacheName = "luizbills.litecanvas-editor-v1";
2-
const version = "2.47.0";
2+
const version = "2.47.1";
33

44
const precacheResources = [
55
"/",

0 commit comments

Comments
 (0)