Robert R Evans | a4d0242 | 2010-10-02 15:07:29 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Robert R Evans | c9da086 | 2010-10-06 17:27:55 -0700 | [diff] [blame] | 2 | # |
| 3 | # The install directory is hard-coded. TOOD: allow the directory to be specified on the command line. |
| 4 | # |
| 5 | |
Robert R Evans | a4d0242 | 2010-10-02 15:07:29 -0700 | [diff] [blame] | 6 | |
| 7 | function rails_jquery { |
| 8 | curl -o public/javascripts/rails.js http://github.com/rails/jquery-ujs/raw/master/src/rails.js |
| 9 | } |
| 10 | |
| 11 | function jquery_install { |
| 12 | curl -o public/javascripts/jquery.js http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js |
| 13 | } |
| 14 | |
| 15 | function jquery_ui_install { |
| 16 | curl -o public/javascripts/jquery_ui.js http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js |
| 17 | } |