Sha256: 7d761ccf9f1eb066d53c82390468940deca8a7a714834f09a1e63172151523bd
Contents?: true
Size: 617 Bytes
Versions: 7
Compression:
Stored size: 617 Bytes
Contents
def setup_script begin get('https://github.com/padrino/padrino-static/raw/master/js/jquery.js', destination_root("/public/javascripts/jquery.js")) get('https://github.com/padrino/padrino-static/raw/master/ujs/jquery.js', destination_root("/public/javascripts/jquery-ujs.js")) rescue copy_file('templates/static/js/jquery.js', destination_root("/public/javascripts/jquery.js")) copy_file('templates/static/ujs/jquery.js', destination_root("/public/javascripts/jquery-ujs.js")) end create_file(destination_root('/public/javascripts/application.js'), "// Put your application scripts here") end
Version data entries
7 entries across 7 versions & 1 rubygems