Skip to content

Commit 52af60e

Browse files
authored
Readme example typos fix
1 parent 6e43198 commit 52af60e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function myInitHandler (terminal) {
177177
terminal.onOutput((chunks) => {
178178
// If you "write 12", chunks are ["\r\n", "12", "\r\n"].
179179
// If you "write 1, 2", chunks are ["\r\n", "1", "2", "\r\n"].
180-
if (chunks.slice(1, -1).join("") === "duck") { // if user do enters: write "duck"
180+
if (chunks.slice(1, -1).join("") === "duck") { // if the user enters: write "duck"
181181
alert(`You've found a secret phrase!`);
182182
}
183183
});
@@ -210,4 +210,4 @@ import
210210
```
211211

212212
Now, in `build` folder you will find `WebTerminal-v*.xml` file. Every time you
213-
changes is ready to be tested, just run `import`.
213+
changes is ready to be tested, just run `import`.

0 commit comments

Comments
 (0)