Sha256: d6a7f54aedba085a43687d82c2206e90cf178d5b03ca3f8371ba23d3cda220ac

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

module Padrino
  module Generators
    module Components
      module Scripts
        
        module MootoolsGen
          def setup_script
            copy_file('templates/scripts/mootools-core.js', destination_root("/public/javascripts/mootools-core.js"))
            create_file(destination_root('/public/javascripts/application.js'), "// Put your application scripts here")
          end
        end
        
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
padrino-gen-0.9.6 lib/padrino-gen/generators/components/scripts/mootools_gen.rb
padrino-gen-0.9.5 lib/padrino-gen/generators/components/scripts/mootools_gen.rb
padrino-gen-0.9.4 lib/padrino-gen/generators/components/scripts/mootools_gen.rb
padrino-gen-0.9.3 lib/padrino-gen/generators/components/scripts/mootools_gen.rb
padrino-gen-0.9.2 lib/padrino-gen/generators/components/scripts/mootools_gen.rb