Sha256: 7b780d6d8362fe770d544c5e6726b158987bfb5882a826d05f7ead10913e7354

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

module Padrino
  module Generators
    module Components
      module Scripts
        
        module JqueryGen
          def setup_script
            copy_file('templates/scripts/jquery.js', destination_root("/app/public/javascripts/jquery.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/jquery_gen.rb
padrino-gen-0.6.7 lib/padrino-gen/generators/components/scripts/jquery_gen.rb