aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2005-10-12 03:43:28 +0000
committerMarcel Molina <marcel@vernix.org>2005-10-12 03:43:28 +0000
commit7aa1ba7ff0f156ab726ff838957eeb2804d2df54 (patch)
treef7801401a22b0fd01bb1bf858dfdda6f518e4021 /actionpack/lib/action_view/helpers/java_script_macros_helper.rb
parent6823f57b27b61e4b38154fc750189fb84ebe3b02 (diff)
downloadrails-7aa1ba7ff0f156ab726ff838957eeb2804d2df54.tar.gz
rails-7aa1ba7ff0f156ab726ff838957eeb2804d2df54.tar.bz2
rails-7aa1ba7ff0f156ab726ff838957eeb2804d2df54.zip
Misc doc fixes (typos/grammar/etc). Closes #2445.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/java_script_macros_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/java_script_macros_helper.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
index f4c99d422a..c340468fcb 100644
--- a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
+++ b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
@@ -3,8 +3,8 @@ require File.dirname(__FILE__) + '/tag_helper'
module ActionView
module Helpers
# Provides a set of helpers for creating JavaScript macros that rely on and often bundle methods from JavaScriptHelper into
- # larger units. These macros also rely on counter parts in the controller that provides them with their backing. The in-place
- # editing relies on ActionController::Base.in_place_edit_for and the auto completion relies on
+ # larger units. These macros also rely on counterparts in the controller that provide them with their backing. The in-place
+ # editing relies on ActionController::Base.in_place_edit_for and the autocompletion relies on
# ActionController::Base.auto_complete_for.
module JavaScriptMacrosHelper
# Makes an HTML element specified by the DOM ID +field_id+ become an in-place
@@ -52,7 +52,7 @@ module ActionView
javascript_tag(function)
end
- # Renders the value of the specified object and method with in place editing capabilities.
+ # Renders the value of the specified object and method with in-place editing capabilities.
#
# See the RDoc on ActionController::InPlaceEditing to learn more about this.
def in_place_editor_field(object, method, tag_options = {}, in_place_editor_options = {})
@@ -88,9 +88,9 @@ module ActionView
# <tt>:indicator</tt>:: Specifies the DOM ID of an element which will be
# displayed while autocomplete is running.
# <tt>:tokens</tt>:: A string or an array of strings containing
- # seperator tokens for tokenized incremental
+ # separator tokens for tokenized incremental
# autocompletion. Example: <tt>:tokens => ','</tt> would
- # allow multiple autocompletion entries, seperated
+ # allow multiple autocompletion entries, separated
# by commas.
# <tt>:min_chars</tt>:: The minimum number of characters that should be
# in the input field before an Ajax call is made
@@ -121,7 +121,7 @@ module ActionView
javascript_tag(function)
end
- # Use this method in your view to generate a return for the AJAX automplete requests.
+ # Use this method in your view to generate a return for the AJAX autocomplete requests.
#
# Example action:
#