Sha256: b11136ef15948460a539f8ddae5fa0c0f884b6d7f188cb0608c4efccc02e1f6c

Contents?: true

Size: 479 Bytes

Versions: 10

Compression:

Stored size: 479 Bytes

Contents

module Padrino
  module Generators
    module Components
      module Scripts
        
        module PrototypeGen
          def setup_script
            copy_file('templates/scripts/protopak.js', "public/javascripts/protopak.js")
            copy_file('templates/scripts/lowpro.js', "public/javascripts/lowpro.js")
            create_file('public/javascripts/application.js', "// Put your application scripts here")
          end
        end
        
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
padrino-gen-0.6.3 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.6.2 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.6.1 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.5.0 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.4.6 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.4.5 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.2.9 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.2.6 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.2.5 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.2.2 lib/generators/components/scripts/prototype_gen.rb