Permalink
Browse files

Fix typos on readme

  • Loading branch information...
1 parent 2d6a8f3 commit 5cd36550e202826b7ae2eb83ad9c67f749e29bc6 @federomero federomero committed Jan 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 readme.md
View
@@ -11,7 +11,7 @@ An HTTP content negotiator for node.js written in coffeescript.
# The negotiator constructor receives a request object
negotiator = new Negotiator(request)
- # Let's say Accept header is 'text/html, application/*;q=0.2, image/jpeg';q=0.8
+ # Let's say Accept header is 'text/html, application/*;q=0.2, image/jpeg;q=0.8'
negotiator.preferredMediaTypes()
# -> ['text/html', 'application/*', 'image/jpeg']
@@ -30,7 +30,7 @@ You can check a working example at `examples/accept.coffee`.
Returns an array of preferred media types ordered by priority from a list of available media types.
-`preferredMediaTyp(availableMediaType)`:
+`preferredMediaType(availableMediaType)`:
Returns the top preferred media type from a list of available media types.

0 comments on commit 5cd3655

Please sign in to comment.