Skip to content

Commit

Permalink
Improve grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Oct 21, 2012
1 parent 507e522 commit 0033273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/working_with_javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0033273

Please sign in to comment.