diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-10-21 19:19:47 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-10-21 19:19:47 +0530 |
commit | 676ee7887e3689257811c8b00bd699f89a838910 (patch) | |
tree | 178bfb5d325f4f996387e16356afeb1a206d0751 | |
parent | f938019da210ea2bfccabdf61424852e8006c741 (diff) | |
download | rails-676ee7887e3689257811c8b00bd699f89a838910.tar.gz rails-676ee7887e3689257811c8b00bd699f89a838910.tar.bz2 rails-676ee7887e3689257811c8b00bd699f89a838910.zip |
fix a couple of typos in the js guide [ci skip]
-rw-r--r-- | guides/source/working_with_javascript.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/guides/source/working_with_javascript.md b/guides/source/working_with_javascript.md index 1fabb9b99e..51673d3464 100644 --- a/guides/source/working_with_javascript.md +++ b/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: |