get "http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js", "public/javascripts/jquery.js" get "http://github.com/rails/jquery-ujs/raw/master/src/rails.js", "public/javascripts/rails.js" get "http://html5shiv.googlecode.com/svn/trunk/html5.js", "public/javascripts/shiv.js" run 'rm public/javascripts/application.js' create_file 'public/javascripts/core.js' do <<-FILE (function($){ var QL = QL || {}; QL = { init: function QL_init(){ // some code that needs to be executed after doc ready QL.bindEvents(); }, bindEvents: function QL_liveEvents(){ $('a[rel*=external]').live('click',function(){ window.open(this.href); return false; }); // more globally bound events }, helpers: function QL_helpers(){ // helper for searching through arrays QL.helpers.arraySearch = function(a){ var o = {}; for(var i=0;i