public
Description: Useful pieces of JavaScript. Some old, some new.
Homepage: http://alternateidea.com
Clone URL: git://github.com/Caged/javascript-bits.git
Search Repo:
commit  16af773a1316774b53805b7fc63b5e1eec34c35d
tree    81a3f4eea4fb7a8ab8bec850530e20339ea6848d
parent  04c7477505d3998b9ab0ebdbdd321407f2af940a
100644 9 lines (8 sloc) 0.359 kb
1
2
3
4
5
6
7
8
9
require 'fileutils'
 
desc "Update Prototype to Subversion HEAD"
task :update_prototype do
  FileUtils.rm 'vendor/prototype.js' if File.exists? 'vendor/prototype.js'
  puts '--> Exporting Prototype to vendor/prototype.js'
  `svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/html/javascripts/prototype.js vendor/prototype.js`
  puts '--> DONE'
end