Permalink
Browse files

Remove redundant mention of escape_javascript alias.

The doc already shows the alias.
  • Loading branch information...
htanata committed Jan 17, 2012
1 parent 81ce77d commit d7f7f5ee560fafa7e9819786e41bf0ea6df7919b
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -18,7 +18,7 @@ module JavaScriptHelper
# Escapes carriage returns and single and double quotes for JavaScript segments.
#
- # Also available through the alias j(). This is particularly helpful in JavaScript responses, like:
+ # This is particularly helpful in JavaScript responses, like:
#
# $('some_element').replaceWith('<%=j render 'some/element_template' %>');
def escape_javascript(javascript)

0 comments on commit d7f7f5e

Please sign in to comment.