Permalink
Browse files

fix a couple of typos in the js guide [ci skip]

  • Loading branch information...
1 parent f938019 commit 676ee7887e3689257811c8b00bd699f89a838910 @vijaydev vijaydev committed Oct 21, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 guides/source/working_with_javascript.md
@@ -16,7 +16,7 @@ ease! We will cover the following topics:
An introduction to AJAX
------------------------
-In order to understand AJAX, you must first understand what a web broswer does
+In order to understand AJAX, you must first understand what a web browser does
normally.
When you type `http://localhost:3000` into your browser's address bar and hit
@@ -146,7 +146,7 @@ attributes, and attaches appropriate handlers.
### form_for
[`form_for`](http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for)
-is a helper that assists with writing `<form>`s. `form_for` takes a `:remote`
+is a helper that assists with writing forms. `form_for` takes a `:remote`
option. It works like this:
```
@@ -199,7 +199,7 @@ details.
### link_to
[`link_to`](http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-link_to)
-is a helper that assits with generating links. It has a `:remote` option you
+is a helper that assists with generating links. It has a `:remote` option you
can use like this:
```
@@ -227,8 +227,6 @@ $(document).ready ->
alert "fib of #{count} is: #{data}."
```
-Easy!
-
### button_to
[`button_to`](http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-button_to) is a helper that helps you create buttons. It has a `:remote` option that you can call like this:

0 comments on commit 676ee78

Please sign in to comment.