Browse files

Revert "Remove redundant mention of escape_javascript alias."

This reverts commit d7f7f5e.

Reason: That isn't redundant IMO.
  • Loading branch information...
1 parent 1ad4a30 commit de2e28d255d02214b5169c23da5f2327982ea0aa @vijaydev vijaydev committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/javascript_helper.rb
View
2 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.
#
- # This is particularly helpful in JavaScript responses, like:
+ # Also available through the alias j(). This is particularly helpful in JavaScript responses, like:
#
# $('some_element').replaceWith('<%=j render 'some/element_template' %>');
def escape_javascript(javascript)

0 comments on commit de2e28d

Please sign in to comment.