File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ <h2><a id="engine-api">Engine API</a></h2>
689689// use `stat() to get internal informations about an litecanvas' instance
690690// stat(0) the settings passed to that instance
691691// stat(1) returns true if the "init" event has already been emitted
692- // stat(2) the current ID returned by last requestAnimationFrame
692+ // stat(2) the current delta time (dt)
693693// stat(3) the current canvas element scale (not the context 2D scale)
694694// stat(4) the attached event callbacks
695695// stat(5) the current color palette
@@ -699,7 +699,7 @@ <h2><a id="engine-api">Engine API</a></h2>
699699// stat(9) the current RNG state
700700// stat(10) the current font size
701701// stat(11) the current font family
702- // any other value returns undefined
702+ // any other values probably will return undefined
703703stat(n: number): any</ code > </ pre >
704704
705705 < h2 > < a id ="advanced "> Playground Features</ a > </ h2 >
Original file line number Diff line number Diff line change 11const cacheName = "luizbills.litecanvas-editor-v1" ;
2- const version = "2025.7.13.1 " ;
2+ const version = "2025.7.15.0 " ;
33
44const precacheResources = [
55 "/" ,
@@ -29,7 +29,7 @@ const precacheResources = [
2929
3030self . addEventListener ( "install" , ( event ) => {
3131 event . waitUntil (
32- caches . open ( cacheName ) . then ( ( cache ) => cache . addAll ( precacheResources ) )
32+ caches . open ( cacheName ) . then ( ( cache ) => cache . addAll ( precacheResources ) ) ,
3333 ) ;
3434} ) ;
3535
@@ -42,7 +42,7 @@ self.addEventListener("fetch", (event) => {
4242 return cachedResponse ;
4343 }
4444 return fetch ( event . request ) ;
45- } )
45+ } ) ,
4646 ) ;
4747} ) ;
4848
You can’t perform that action at this time.
0 commit comments