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