Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a2f9d80

Browse filesBrowse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent edb3e01 commit a2f9d80
Copy full SHA for a2f9d80

File tree

2 files changed

+2
-3
lines changed
Filter options

2 files changed

+2
-3
lines changed

‎core/src/service-worker.js

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import 'polyscript/service-worker';
1+
import "polyscript/service-worker";

‎core/src/storage.js

Copy file name to clipboardExpand all lines: core/src/storage.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ const to_idb = (value) => {
88
/* eslint-disable no-fallthrough */
99
switch (typeof value) {
1010
case "object": {
11-
if (isView(value))
12-
return stringify(["memoryview", [...value]]);
11+
if (isView(value)) return stringify(["memoryview", [...value]]);
1312
if (value instanceof ArrayBuffer)
1413
return stringify(["bytearray", [...new Uint8Array(value)]]);
1514
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.