10000 [pre-commit.ci] auto fixes from pre-commit.com hooks · pyscript/pyscript@e4e1c82 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4e1c82

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b5a1161 commit e4e1c82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyscript.core/src/plugins/py-editor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ const init = async (script, type, interpreter) => {
171171

172172
// helps preventing too lazy ServiceWorker initialization on button run
173173
if (serviceWorker) {
174-
const bootstrap = document.createElement('script');
175-
bootstrap.type = 'mpy';
176-
bootstrap.setAttribute('worker', '');
177-
bootstrap.setAttribute('service-worker', serviceWorker);
174+
const bootstrap = document.createElement("script");
175+
bootstrap.type = "mpy";
176+
bootstrap.setAttribute("worker", "");
177+
bootstrap.setAttribute("service-worker", serviceWorker);
178178
document.head.appendChild(bootstrap);
179179
}
180180

0 commit comments

Comments
 (0)
0