Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 142d38d

Browse files
Merge pull request #634 from 1a23456789/master
Fix document
2 parents 5761f5c + cd56988 commit 142d38d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/api/core/operators/fromeventpattern.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
### `Rx.Observable.fromEventPattern(addHandler, removeHandler, [selector])`
1+
### `Rx.Observable.fromEventPattern(addHandler, [removeHandler], [selector])`
22
[Ⓢ](https://github.com/Reactive-Extensions/RxJS/blob/master/src/core/linq/observable/fromeventpattern.js "View in source")
33

44
Creates an observable sequence by using the addHandler and removeHandler functions to add and remove the handlers, with an optional selector function to project the event arguments.
55

66
#### Arguments
77
1. `addHandler` *(`Function`)*: The DOMElement, NodeList or EventEmitter to attach a listener.
8-
2. `removeHandler` *(`Function`)*: The event name to attach the observable sequence.
8+
2. `[removeHandler]` *(`Function`)*: The optional function to remove a handler from an emitter.
99
3. `[selector]` *(`Function`)*: A selector which takes the arguments from the event handler to produce a single item to yield on next.
1010

1111
#### Returns

doc/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RxJS <sup>v2.3</sup>
1+
# RxJS <sup>v2.4</sup>
22

33
Reactive Extensions (Rx) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators.
44

@@ -116,10 +116,10 @@ Converting your existing code from other libraries can be easy. Many of the con
116116
- [Comparing RxJS and Bacon.js](mapping/bacon.js/comparing.md)
117117
2. For Async.js Users
118118
- [Why RxJS versus Async.js](mapping/async/whyrx.md)
119-
- [Comparing RxJS and Async.jss](mapping/async/comparing.md)
119+
- [Comparing RxJS and Async.js](mapping/async/comparing.md)
120120
3. For Highland.js Users
121121
- [Why RxJS versus Highland.js](mapping/highland/whyrx.md)
122-
- [Comparing RxJS and Highland.jss](mapping/highland/comparing.md)
122+
- [Comparing RxJS and Highland.js](mapping/highland/comparing.md)
123123

124124
## Reactive Extensions Class Library
125125

0 commit comments

Comments
 (0)