Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Aug 31, 2023
1 parent f257cf4 commit ae5c77d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/hello-world/deno.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ to start since we don’t have a persistency layer for the sake of staying simpl
const client = new Client();

console.log("Starting client...");
await client.start();
await client.connect();
console.log("Client started.");
```

Expand Down Expand Up @@ -75,7 +75,7 @@ import { Client, functions } from "https://deno.land/x/mtkruto/mod.ts";
const client = new Client();

console.log("Starting client...");
await client.start();
await client.connect();
console.log("Client started.");

const before = Date.now();
Expand Down
4 changes: 2 additions & 2 deletions src/hello-world/node-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ to start since we don’t have a persistency layer for the sake of staying simpl
const client = new Client();

console.log("Starting client...");
await client.start();
await client.connect();
console.log("Client started.");
```

Expand Down Expand Up @@ -84,7 +84,7 @@ const { Client, functions } = require("@mtkruto/node");
const client = new Client();

console.log("Starting client...");
await client.start();
await client.connect();
console.log("Client started.");

const before = Date.now();
Expand Down
4 changes: 2 additions & 2 deletions src/hello-world/vanilla-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Extend the contents of the `<script>` tag with this snippet:
const client = new Client();

console.log("Starting client...");
await client.start();
await client.connect();
console.log("Client started.");
```

Expand Down Expand Up @@ -84,7 +84,7 @@ File name: ping.html
const client = new Client();
console.log("Starting client...");
await client.start();
await client.connect();
console.log("Client started.");
const before = Date.now();
Expand Down

0 comments on commit ae5c77d

Please sign in to comment.