Skip to content

Commit a0c611b

Browse files
authored
Merge pull request #12 from litecanvas/fix
fix
2 parents 02739f9 + de10229 commit a0c611b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

public/about.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ <h2><a id="globals">Global Variables</a></h2>
337337
DEFAULT_SFX: number[]
338338

339339
// Math constants
340-
PI: number // approximately 3.14 radians (180º)
340+
PI: number // approximately 3.14 radians (180°)
341341

342-
TWO_PI: number // approximately 6.28 radians (360º)
342+
TWO_PI: number // approximately 6.28 radians (360°)
343343

344-
HALF_PI: number // approximately 1.57 radians (90º)</code></pre>
344+
HALF_PI: number // approximately 1.57 radians (90°)</code></pre>
345345

346346
<h2><a id="drawing">Functions for Drawing</a></h2>
347347

public/sw.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cacheName = "luizbills.litecanvas-editor-v1";
2-
const version = "2.41.1";
2+
const version = "2.41.2";
33

44
const precacheResources = [
55
"/",
@@ -28,7 +28,7 @@ const precacheResources = [
2828

2929
self.addEventListener("install", (event) => {
3030
event.waitUntil(
31-
caches.open(cacheName).then((cache) => cache.addAll(precacheResources))
31+
caches.open(cacheName).then((cache) => cache.addAll(precacheResources)),
3232
);
3333
});
3434

@@ -41,7 +41,7 @@ self.addEventListener("fetch", (event) => {
4141
return cachedResponse;
4242
}
4343
return fetch(event.request);
44-
})
44+
}),
4545
);
4646
});
4747

0 commit comments

Comments
 (0)