From 00332733b2bf83b22dd57a18a5a61217ce7cfe5f Mon Sep 17 00:00:00 2001 From: Agis Anastasopoulos Date: Sun, 21 Oct 2012 17:21:50 +0300 Subject: Improve grammar --- guides/source/working_with_javascript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides/source/working_with_javascript.md') 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 -- cgit v1.2.3