yui-on-rails 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/yui-on-rails/prototype_helper.rb +8 -6
- data/yui-on-rails.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
@@ -1,11 +1,13 @@
|
|
1
|
-
module
|
2
|
-
module
|
1
|
+
module ActionView
|
2
|
+
module Helpers
|
3
|
+
module PrototypeHelper
|
3
4
|
#alias :original_link_to_remote :link_to_remote
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
6
|
+
def link_to_remote_with_yui(name, options = {}, html_options = nil)
|
7
|
+
options.merge!(:before=>"alert('blah blah')")
|
8
|
+
link_to_remote_without_yui(name, options, html_options)
|
9
|
+
end
|
10
|
+
alias_method_chain :link_to_remote, :yui
|
8
11
|
end
|
9
|
-
alias_method_chain :link_to_remote, :yui
|
10
12
|
end
|
11
13
|
end
|
data/yui-on-rails.gemspec
CHANGED