Skip to content
Browse files

move selectivizr out of asset pipeline

  • Loading branch information...
1 parent 42341d3 commit ea4530a28e46e2cdf3775b82333ba2e3e5cb3432 @schacon schacon committed May 2, 2012
View
2 app/views/layouts/errors.haml
@@ -6,7 +6,7 @@
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
= stylesheet_link_tag "errors.css"
/[if (gte IE 6)&(lte IE 8)]
- = javascript_include_tag "selectivizr-min.js"
+ %script{:src => "/javascripts/selectivizr-min.js", :type => "text/javascript"}
= javascript_include_tag "http://use.typekit.com/jsq2fql.js"
:javascript
try{Typekit.load();}catch(e){}
View
2 app/views/layouts/layout.html.haml
@@ -10,7 +10,7 @@
= stylesheet_link_tag "git-scm.css"
= javascript_include_tag "modernizr.js", "modernizr-tests.js"
/[if (gte IE 6)&(lte IE 8)]
- = javascript_include_tag "selectivizr-min.js"
+ %script{:src => "/javascripts/selectivizr-min.js", :type => "text/javascript"}
= javascript_include_tag "http://use.typekit.com/jsq2fql.js"
:javascript
try{Typekit.load();}catch(e){}
View
2 config/environments/production.rb
@@ -45,7 +45,7 @@
# config.action_controller.asset_host = "http://assets.example.com"
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
- config.assets.precompile += %w( git-scm.css errors.css modernizr.js selectivizr-min.js jquery-1.7.1.min.js jquery-ui-1.8.18.custom.min.js jquery.defaultvalue.js session.min.js site.js modernizr-tests.js)
+ config.assets.precompile += %w( git-scm.css errors.css modernizr.js jquery-1.7.1.min.js jquery-ui-1.8.18.custom.min.js jquery.defaultvalue.js session.min.js site.js modernizr-tests.js)
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
View
0 app/assets/javascripts/selectivizr-min.js → public/javascripts/selectivizr-min.js
File renamed without changes.

0 comments on commit ea4530a

Please sign in to comment.
Something went wrong with that request. Please try again.