Sha256: f5c61dbecfa7b427ab77ae3072b4606690d491ed1033d21e9af22bf0d64511a1
Contents?: true
Size: 594 Bytes
Versions: 3
Compression:
Stored size: 594 Bytes
Contents
def setup_script begin get('https://github.com/padrino/padrino-static/raw/master/js/ext.js', destination_root("/public/javascripts/ext.js")) get('https://github.com/padrino/padrino-static/raw/master/ujs/ext.js', destination_root("/public/javascripts/ext-ujs.js")) rescue copy_file('templates/static/js/ext.js', destination_root("/public/javascripts/ext.js")) copy_file('templates/static/ujs/ext.js', destination_root("/public/javascripts/ext-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