blob: 2e0b56cbcdfd982fec311fea1c1da3df2e49a2bf [file] [log] [blame]
Robert R Evansa4d02422010-10-02 15:07:29 -07001#!/bin/bash
Robert R Evansc9da0862010-10-06 17:27:55 -07002#
3# The install directory is hard-coded. TOOD: allow the directory to be specified on the command line.
4#
5
Robert R Evansa4d02422010-10-02 15:07:29 -07006
7function rails_jquery {
8 curl -o public/javascripts/rails.js http://github.com/rails/jquery-ujs/raw/master/src/rails.js
9}
10
11function jquery_install {
12 curl -o public/javascripts/jquery.js http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
13}
14
15function 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}