-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20374c2
commit 501ba13
Showing
15 changed files
with
453 additions
and
3,567 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
= jRails | ||
|
||
jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers. | ||
|
||
== Resources | ||
|
||
Install | ||
|
||
* .script/plugin install http://ennerchi.googlecode.com/svn/trunk/plugins/jrails | ||
|
||
Project Site | ||
|
||
* http://code.google.com/p/ennerchi/ | ||
|
||
Web Site | ||
|
||
* http://www.ennerchi.com/projects/jrails | ||
= jRails | ||
|
||
jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers. | ||
|
||
== Resources | ||
|
||
Install | ||
|
||
* .script/plugin install http://ennerchi.googlecode.com/svn/trunk/plugins/jrails | ||
|
||
Project Site | ||
|
||
* http://code.google.com/p/ennerchi/ | ||
|
||
Web Site | ||
|
||
* http://www.ennerchi.com/projects/jrails | ||
|
||
Group Site | ||
|
||
* http://groups.google.com/group/jrails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery','jquery-ui','jquery-fx','jrails'] | ||
# uncomment to use jQuery.noConflict() | ||
#ActionView::Helpers::PrototypeHelper::JQUERY_VAR = 'jQuery' | ||
|
||
ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery','jquery-ui','jrails'] | ||
ActionView::Helpers::AssetTagHelper::reset_javascript_include_default | ||
require 'jrails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Install hook code here | ||
puts "Copying files..." | ||
dir = "javascripts" | ||
["jquery-fx.js", "jquery-ui.js", "jquery.js", "jrails.js"].each do |js_file| | ||
dest_file = File.join(RAILS_ROOT, "public", dir, js_file) | ||
src_file = File.join(File.dirname(__FILE__) , dir, js_file) | ||
FileUtils.cp_r(src_file, dest_file) | ||
end | ||
puts "Files copied - Installation complete!" | ||
# Install hook code here | ||
puts "Copying files..." | ||
dir = "javascripts" | ||
["jquery-ui.js", "jquery.js", "jrails.js"].each do |js_file| | ||
dest_file = File.join(RAILS_ROOT, "public", dir, js_file) | ||
src_file = File.join(File.dirname(__FILE__) , dir, js_file) | ||
FileUtils.cp_r(src_file, dest_file) | ||
end | ||
puts "Files copied - Installation complete!" |
Oops, something went wrong.