aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/working_with_javascript.md
diff options
context:
space:
mode:
authorAgis Anastasopoulos <corestudiosinc@gmail.com>2012-10-21 17:21:50 +0300
committerAgis Anastasopoulos <corestudiosinc@gmail.com>2012-10-21 17:21:50 +0300
commit00332733b2bf83b22dd57a18a5a61217ce7cfe5f (patch)
tree9803fcffd8fb42f11c18825ab19c9753ff27f301 /guides/source/working_with_javascript.md
parent507e522e26b4073455b2337bcf1670e52bba5429 (diff)
downloadrails-00332733b2bf83b22dd57a18a5a61217ce7cfe5f.tar.gz
rails-00332733b2bf83b22dd57a18a5a61217ce7cfe5f.tar.bz2
rails-00332733b2bf83b22dd57a18a5a61217ce7cfe5f.zip
Improve grammar
Diffstat (limited to 'guides/source/working_with_javascript.md')
-rw-r--r--guides/source/working_with_javascript.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/working_with_javascript.md b/guides/source/working_with_javascript.md
index 7ec489f23a..dba6a68940 100644
--- a/guides/source/working_with_javascript.md
+++ b/guides/source/working_with_javascript.md
@@ -136,8 +136,8 @@ Rails provides a bunch of view helper methods written in Ruby to assist you
in generating HTML. Sometimes, you want to add a little AJAX to those elements,
and Rails has got your back in those cases.
-Because of Unobtrusive JavaScript, the Rails "AJAX helpers" are actually in two
-parts: the JavaScript half and the Ruby half.
+Because of Unobtrusive JavaScript, the Rails AJAX helpers actually consist of two
+parts: the JavaScript part and the Ruby part.
[rails.js](https://github.com/rails/jquery-ujs/blob/master/src/rails.js)
provides the JavaScript half, and the regular Ruby view helpers add appropriate
tags to your DOM. The CoffeeScript in rails.js then listens for these