File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff 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 "> <!DOCTYPE html>
225225<html>
226+ <head>
227+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
228+ </head>
226229 <body>
227230 <script src="https://unpkg.com/litecanvas/dist/dist.dev.js"></script>
228231 <script>
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)
Original file line number Diff line number Diff line change 11const cacheName = "luizbills.litecanvas-editor-v1" ;
2- const version = "2.63.1 " ;
2+ const version = "2.63.2 " ;
33
44const precacheResources = [
55 "/" ,
You can’t perform that action at this time.
0 commit comments