Skip to content

Commit

Permalink
Correct a few typos (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
appsforartists authored Jul 30, 2023
1 parent 27dbc6f commit 48abdfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ We propose the following operators in addition to the `Observable` interface:
until the input observable emits its first value
- `finally()`
- Like `Promise.finally()`, it takes a callback which gets fired after the
observable completes in any way (`done()`/`error()`)
observable completes in any way (`complete()`/`error()`)
Versions of the above are often present in userland implementations of
observables as they are useful for observable-specific reasons, but in addition
Expand Down Expand Up @@ -577,7 +577,7 @@ such as the proposed `first()`. The potential footgun here with microtask schedu
integration. Specifically, the following innocent-looking code would not *always* work:
```js
element.on('click').first.then(e => {
element.on('click').first().then(e => {
e.preventDefault();
// Do something custom...
});
Expand Down

0 comments on commit 48abdfa

Please sign in to comment.