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