Sha256: 48b2718e17e4fdefd820c3476045f277400c513dbd235131c1c7eb50f562c695

Contents?: true

Size: 519 Bytes

Versions: 4

Compression:

Stored size: 519 Bytes

Contents

get "http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js",  "public/javascripts/jquery.js"
get "http://github.com/rails/jquery-ujs/raw/master/src/rails.js", "public/javascripts/rails.js"
get "http://html5shiv.googlecode.com/svn/trunk/html5.js", "public/javascripts/shiv.js"

inject_into_file 'config/application.rb', :after => "# JavaScript files you want as :defaults (application.js is always included).\n" do 
<<-RUBY  
    config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
RUBY
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prologue-0.2.0 templates/js.rb
prologue-0.1.2 templates/js.rb
prologue-0.1.1 templates/js.rb
prologue-0.1.0 templates/js.rb