Skip to content

Commit 00a7c4f

Browse files
committed
fix docs
1 parent 713e478 commit 00a7c4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

public/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
703703
stat(n: number): any</code></pre>
704704

705705
<h2><a id="advanced">Playground Features</a></h2>

public/sw.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cacheName = "luizbills.litecanvas-editor-v1";
2-
const version = "2025.7.13.1";
2+
const version = "2025.7.15.0";
33

44
const precacheResources = [
55
"/",
@@ -29,7 +29,7 @@ const precacheResources = [
2929

3030
self.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

0 commit comments

Comments
 (0)