diff options
author | Aditya Sanghi <asanghi@me.com> | 2010-10-29 10:01:43 +0530 |
---|---|---|
committer | Aditya Sanghi <asanghi@me.com> | 2010-10-29 10:01:43 +0530 |
commit | 74f3f74b6e6a33abe645a5e9d1bb04cb58676575 (patch) | |
tree | 19cc3d80bfbc16ad8b79d6047ab869295eaf0dea | |
parent | 8f141d0ce759541bc86d273adb96ada885b85145 (diff) | |
download | rails-74f3f74b6e6a33abe645a5e9d1bb04cb58676575.tar.gz rails-74f3f74b6e6a33abe645a5e9d1bb04cb58676575.tar.bz2 rails-74f3f74b6e6a33abe645a5e9d1bb04cb58676575.zip |
fixed javascript helper doc to close issue #10 raised by jialin
-rw-r--r-- | actionpack/lib/action_view/helpers/javascript_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb index cd3a3eac80..f392d92e75 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -65,7 +65,7 @@ module ActionView # //]]> # </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> |