Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed javascript helper doc to close issue #10 raised by jialin

  • Loading branch information...
commit 74f3f74b6e6a33abe645a5e9d1bb04cb58676575 1 parent 8f141d0
@asanghi asanghi authored
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
@@ -65,7 +65,7 @@ def escape_javascript(javascript)
# //]]>
# </script>
#
- # +html_options+ may be a hash of attributes for the <tt>\<script></tt>
+ # +html_options+ may be a hash of attributes for the <tt><script></tt>
# tag. Example:
# javascript_tag "alert('All is good')", :defer => 'defer'
# # => <script defer="defer" type="text/javascript">alert('All is good')</script>
Please sign in to comment.
Something went wrong with that request. Please try again.