Sha256: 6515840a1cb35e125646d6def567c891970109e54772eabbea691cd337f5a94e
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
module Padrino module Generators module Components module Scripts module PrototypeGen def setup_script copy_file('templates/scripts/protopak.js', destination_root("/app/public/javascripts/protopak.js")) copy_file('templates/scripts/lowpro.js', destination_root("/app/public/javascripts/lowpro.js")) create_file(destination_root('/app/public/javascripts/application.js'), "// Put your application scripts here") end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.7.0 | lib/padrino-gen/generators/components/scripts/prototype_gen.rb |
padrino-gen-0.6.7 | lib/padrino-gen/generators/components/scripts/prototype_gen.rb |