Skip to content

Commit 1e77848

Browse files
committed
Fixed format issues that were causing the "fmt_test" script to fail.
1 parent 82843ad commit 1e77848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const obj = {
138138
* When a connection is made into this shared worker, expose `obj`
139139
* via the connection `port`.
140140
*/
141-
onconnect = function(event) {
141+
onconnect = function (event) {
142142
const port = event.ports[0];
143143

144144
Comlink.expose(obj, port);

docs/examples/07-sharedworker-example/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const obj = {
2525
* When a connection is made into this shared worker, expose `obj`
2626
* via the connection `port`.
2727
*/
28-
onconnect = function(event) {
28+
onconnect = function (event) {
2929
const port = event.ports[0];
3030

3131
Comlink.expose(obj, port);

0 commit comments

Comments
 (0)