Skip to content

Commit 3298efe

Browse files
committed
improve hello world
1 parent 7dd54bc commit 3298efe

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

public/about.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,14 @@ <h2>Hello World</h2>
223223
<p>Create a text file named <code>index.html</code>, put the code below and open it your browser.</p>
224224
<pre><code class="language-html" data-copy="pos-absolute size-bg">&lt;!DOCTYPE html&gt;
225225
&lt;html&gt;
226+
&lt;head&gt;
227+
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, user-scalable=no&quot;/&gt;
228+
&lt;/head&gt;
226229
&lt;body&gt;
227230
&lt;script src=&quot;https://unpkg.com/litecanvas/dist/dist.dev.js&quot;&gt;&lt;/script&gt;
228231
&lt;script&gt;
229-
// setup the engine
230-
litecanvas({
231-
loop: { draw }
232-
});
232+
// start the engine
233+
litecanvas();
233234

234235
function draw() {
235236
// clear the screen with black (color #0)

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.63.1";
2+
const version = "2.63.2";
33

44
const precacheResources = [
55
"/",

0 commit comments

Comments
 (0)