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

Commit 892ae9d

Browse files
Merge pull request #147 from ccarterc/ReadMeFixes
Corrected minor spelling mistakes.
2 parents 72a590e + e25ea8d commit 892ae9d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

readme.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Build Status](https://travis-ci.org/Reactive-Extensions/RxJS.png)](https://travis-ci.org/Reactive-Extensions/RxJS)
2-
[![dependency Status](https://david-dm.org/Reactive-Extensions/RxJS/status.png?theme=shields.io)](https://david-dm.org/Reactive-Extensions/RxJS#info=dependencies)
3-
[![devDependency Status](https://david-dm.org/Reactive-Extensions/RxJS/dev-status.png?theme=shields.io)](https://david-dm.org/Reactive-Extensions/RxJS#info=devDependencies)
2+
[![dependency Status](https://david-dm.org/Reactive-Extensions/RxJS/status.png?theme=shields.io)](https://david-dm.org/Reactive-Extensions/RxJS#info=dependencies)
3+
[![devDependency Status](https://david-dm.org/Reactive-Extensions/RxJS/dev-status.png?theme=shields.io)](https://david-dm.org/Reactive-Extensions/RxJS#info=devDependencies)
44
[![NPM version](https://badge.fury.io/js/rx.png)](http://badge.fury.io/js/rx)
55
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
66
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Reactive-Extensions/rxjs/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
@@ -45,28 +45,28 @@ But the best news of all is that you already know how to program like this. Tak
4545
var source = getStockData();
4646

4747
source
48-
.filter(function (quote) {
49-
return quote.price > 30;
48+
.filter(function (quote) {
49+
return quote.price > 30;
5050
})
51-
.map(function (quote) {
51+
.map(function (quote) {
5252
return quote.price;
5353
})
5454
.forEach(function (price) {
5555
console.log('Prices higher than $30: $' + price);
5656
});
5757
```
5858

59-
Now what if this data were to come as some sort of event, for example a stream, such as as a WebSocket, then we could pretty much write the same query to iterate our data, with very litle change.
59+
Now what if this data were to come as some sort of event, for example a stream, such as as a WebSocket, then we could pretty much write the same query to iterate our data, with very little change.
6060

6161
```js
6262
/* Get stock data somehow */
6363
var source = getAsyncStockData();
6464

6565
var subscription = source
66-
.filter(function (quote) {
67-
return quote.price > 30;
66+
.filter(function (quote) {
67+
return quote.price > 30;
6868
})
69-
.map(function (quote) {
69+
.map(function (quote) {
7070
return quote.price;
7171
})
7272
.subscribe(
@@ -81,7 +81,7 @@ var subscription = source
8181
subscription.dispose();
8282
```
8383

84-
The only difference is that we can handle the errors inline with our subscription. And when we're no longer interested in receiving the data as it comes steraming in, we call `dispose` on our subscription.
84+
The only difference is that we can handle the errors inline with our subscription. And when we're no longer interested in receiving the data as it comes streaming in, we call `dispose` on our subscription.
8585

8686
## Batteries Included ##
8787

@@ -90,7 +90,7 @@ This set of libraries include:
9090
- [rx.lite.js](doc/libraries/rx.lite.md) - lite version with event bindings, creation, time and standard query operators with a compat file for older browsers.
9191
- [rx.js](doc/libraries/rx.md) - core library for ES5 compliant browsers and runtimes plus compatibility for older browsers.
9292
- [rx.aggregates.js](doc/libraries/rx.aggregates.md) - aggregation event processing query operations
93-
- [rx.async.js](doc/libraries/rx.async.md) - async operationrs such as events, callbacks and promises plus a compat file for older browsers.
93+
- [rx.async.js](doc/libraries/rx.async.md) - async operations such as events, callbacks and promises plus a compat file for older browsers.
9494
- [rx.backpressure.js](doc/libraries/rx.backpressure.md) - backpressure operators such as pause/resume and controlled.
9595
- [rx.binding.js](doc/libraries/rx.binding.md) - binding operators including multicast, publish, publishLast, publishValue, and replay
9696
- [rx.coincidence.js](doc/libraries/rx.coincidence.md) - reactive coincidence join event processing query operations
@@ -151,7 +151,7 @@ function searchWikipedia (term) {
151151
}
152152
```
153153

154-
Once that is created, now we can tie together the distinct throttled input and then query the service. In this case, we'll call `flatMapLatest` to get the value and ensure that we're not introducing any out of order sequence calls.
154+
Once that is created, now we can tie together the distinct throttled input and then query the service. In this case, we'll call `flatMapLatest` to get the value and ensure that we're not introducing any out of order sequence calls.
155155

156156
```js
157157
var suggestions = distinct
@@ -169,12 +169,12 @@ suggestions.subscribe( function (data) {
169169

170170
$.each(res, function (_, value) {
171171
$('<li>' + value + '</li>').appendTo($results);
172-
});
172+
});
173173
}, function (error) {
174174
/* handle any errors */
175175
$results.empty();
176176

177-
$('<li>Error: ' + error + '</li>').appendTo($results);
177+
$('<li>Error: ' + error + '</li>').appendTo($results);
178178
});
179179
```
180180

@@ -187,7 +187,7 @@ You can find the documentation [here](https://github.com/Reactive-Extensions/RxJ
187187
## Resources
188188

189189
- Contact us
190-
- [Tech Blog](http://blogs.msdn.com/b/rxteam)
190+
- [Tech Blog](http://blogs.msdn.com/b/rxteam)
191191
- [Twitter @ReactiveX](https://twitter.com/ReactiveX)
192192
- [Twitter @OpenAtMicrosoft](http://twitter.com/OpenAtMicrosoft)
193193
- [IRC #reactivex](http://webchat.freenode.net/#reactivex)
@@ -256,7 +256,7 @@ There are a number of ways to get started with RxJS. The files are available on
256256
bower install rxjs
257257

258258
### Installing with [Jam](http://jamjs.org/)
259-
259+
260260
jam install rx
261261

262262
### Installing All of RxJS via [NuGet](http://nuget.org/)
@@ -281,7 +281,7 @@ There are a number of ways to get started with RxJS. The files are available on
281281
<script src="rx.js"></script>
282282

283283
### Along with a number of our extras for RxJS:
284-
284+
285285
<script src="rx.aggregates.js"></script>
286286
<script src="rx.async.js"></script>
287287
<script src="rx.backpressure.js"></script>
@@ -322,7 +322,7 @@ In addition, we have support for [common Node.js functions](https://github.com/R
322322

323323
## Compatibility ##
324324

325-
RxJS has been thoroughly tested against all major browsers and supports IE6+, Chrome 4+, FireFox 1+, and Node.js v0.4+.
325+
RxJS has been thoroughly tested against all major browsers and supports IE6+, Chrome 4+, FireFox 1+, and Node.js v0.4+.
326326

327327
## Contributing ##
328328

0 commit comments

Comments
 (0)