Skip to content

Commit

Permalink
Fixed format issues that were causing the "fmt_test" script to fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-io committed Feb 5, 2021
1 parent 82843ad commit 1e77848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -138,7 +138,7 @@ const obj = {
* When a connection is made into this shared worker, expose `obj`
* via the connection `port`.
*/
onconnect = function(event) {
onconnect = function (event) {
const port = event.ports[0];

Comlink.expose(obj, port);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/07-sharedworker-example/worker.js
Expand Up @@ -25,7 +25,7 @@ const obj = {
* When a connection is made into this shared worker, expose `obj`
* via the connection `port`.
*/
onconnect = function(event) {
onconnect = function (event) {
const port = event.ports[0];

Comlink.expose(obj, port);
Expand Down

0 comments on commit 1e77848

Please sign in to comment.