Browse files

fix readme

  • Loading branch information...
1 parent 475bec0 commit e181c566b0c19fcd08b593288898d8d85b99bc5c @maxogden committed Jun 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 readme.md
View
3 readme.md
@@ -4,7 +4,7 @@
use HTML5 [Geolocation](https://developer.mozilla.org/en/Using_geolocation) to watch location changes the node way -- with streams
- var movement = new GeolocationStream()
+ var movement = geolocationstream()
`movement` is a readable stream and speaks stream events: `data`, `error` and `end`. that means you can pipe movement output to anything that accepts streams, such as an XHR. in this case the `data` events will be lat/lon position updates using the `watchPosition` part of HTML5 geolocation
@@ -13,5 +13,4 @@ use HTML5 [Geolocation](https://developer.mozilla.org/en/Using_geolocation) to w
npm install browserify -g
browserify demo.js -o demo-bundle.js
-
MIT LICENSE

0 comments on commit e181c56

Please sign in to comment.