Sha256: ec816c42334b27aba150329f7f5a0d349e4640c93664da67949e3846e88057c9

Contents?: true

Size: 536 Bytes

Versions: 22

Compression:

Stored size: 536 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
padrino-gen-0.9.6 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.9.5 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.9.4 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.9.3 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.9.2 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.9.1 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.9.0 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.8.5 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.8.4 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.8.3 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.8.2 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.8.1 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.8.0 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.9 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.8 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.7 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.6 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.5 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.4 lib/padrino-gen/generators/components/scripts/prototype_gen.rb
padrino-gen-0.7.3 lib/padrino-gen/generators/components/scripts/prototype_gen.rb