yui-on-rails 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/yui-on-rails/prototype_helper.rb +4 -4
- data/rails/init.rb +1 -1
- data/yui-on-rails.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.8
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
module YuiOnRails
|
|
2
2
|
module PrototypeHelper
|
|
3
|
-
alias :original_link_to_remote :link_to_remote
|
|
3
|
+
#alias :original_link_to_remote :link_to_remote
|
|
4
4
|
|
|
5
|
-
def
|
|
5
|
+
def link_to_remote_with_yui(name, options = {}, html_options = nil)
|
|
6
6
|
options.merge!(:before=>"alert('blah blah')")
|
|
7
|
-
|
|
7
|
+
link_to_remote_without_yui(name, options, html_options)
|
|
8
8
|
end
|
|
9
|
-
|
|
9
|
+
alias_method_chain :link_to_remote, :yui
|
|
10
10
|
end
|
|
11
11
|
end
|
data/rails/init.rb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require File.join(File.dirname(__FILE__), *%w[.. lib yui-on-rails])
|
|
2
2
|
ActionView::Base.send :include, YuiOnRails::Tabs
|
|
3
|
-
ActionView::Helpers::PrototypeHelper.send :include, YuiOnRails::PrototypeHelper
|
|
3
|
+
#ActionView::Helpers::PrototypeHelper.send :include, YuiOnRails::PrototypeHelper
|
data/yui-on-rails.gemspec
CHANGED