aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/prototype_helper.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-30 16:02:26 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-30 16:02:26 -0600
commitad1924125d0aedec9d4555e1e13247e84d65fa01 (patch)
tree2c37607d10738e7bd8d7c08e03f9ebea7a7d630b /actionpack/lib/action_view/helpers/prototype_helper.rb
parent9c2c307ee48b91177c3e1cb8831afe4f972d19eb (diff)
downloadrails-ad1924125d0aedec9d4555e1e13247e84d65fa01.tar.gz
rails-ad1924125d0aedec9d4555e1e13247e84d65fa01.tar.bz2
rails-ad1924125d0aedec9d4555e1e13247e84d65fa01.zip
Move scripty JSG helpers into scriptaculous_helper.rb
Diffstat (limited to 'actionpack/lib/action_view/helpers/prototype_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/prototype_helper.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb
index 1fa2fed460..a8fba91354 100644
--- a/actionpack/lib/action_view/helpers/prototype_helper.rb
+++ b/actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -519,32 +519,6 @@ module ActionView
record "}, #{(seconds * 1000).to_i})"
end
- # Starts a script.aculo.us visual effect. See
- # ActionView::Helpers::ScriptaculousHelper for more information.
- def visual_effect(name, id = nil, options = {})
- record @context.send(:visual_effect, name, id, options)
- end
-
- # Creates a script.aculo.us sortable element. Useful
- # to recreate sortable elements after items get added
- # or deleted.
- # See ActionView::Helpers::ScriptaculousHelper for more information.
- def sortable(id, options = {})
- record @context.send(:sortable_element_js, id, options)
- end
-
- # Creates a script.aculo.us draggable element.
- # See ActionView::Helpers::ScriptaculousHelper for more information.
- def draggable(id, options = {})
- record @context.send(:draggable_element_js, id, options)
- end
-
- # Creates a script.aculo.us drop receiving element.
- # See ActionView::Helpers::ScriptaculousHelper for more information.
- def drop_receiving(id, options = {})
- record @context.send(:drop_receiving_element_js, id, options)
- end
-
private
def loop_on_multiple_args(method, ids)
record(ids.size>1 ?