Sha256: d2c930c0b21b11dba8332d075aec0211cc239cc99ec15ef4f635cd60ab668291
Contents?: true
Size: 618 Bytes
Versions: 55
Compression:
Stored size: 618 Bytes
Contents
def setup_script begin get('https://raw.github.com/padrino/padrino-static/master/js/jquery.js', destination_root("/public/javascripts/jquery.js")) get('https://raw.github.com/padrino/padrino-static/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
55 entries across 55 versions & 1 rubygems