Browse Source

La librairie javascript modernizr a été ajoutée

recurrent
echarp 8 years ago
parent
commit
b86d5f3950
  1. 1
      Gemfile
  2. 2
      Gemfile.lock
  3. 1
      app/assets/javascripts/application.js
  4. 2
      app/views/layouts/application.html.haml

1
Gemfile

@ -42,6 +42,7 @@ end
gem 'haml-rails'
gem 'compass-rails', '1.1.3'
gem 'modernizr-rails'
gem 'activeadmin', github: 'gregbell/active_admin'
gem 'rails-i18n'
gem 'devise-i18n'

2
Gemfile.lock

@ -160,6 +160,7 @@ GEM
method_source (0.8.2)
mime-types (1.25.1)
minitest (4.7.5)
modernizr-rails (2.7.1)
multi_json (1.9.0)
mysql2 (0.3.15)
nio4r (1.0.0)
@ -258,6 +259,7 @@ DEPENDENCIES
jbuilder
jquery-rails
jquery-turbolinks
modernizr-rails
mysql2
quiet_assets
rails

1
app/assets/javascripts/application.js

@ -14,4 +14,5 @@
//= require jquery_ujs
//= require jquery.turbolinks
//= require turbolinks
//= require modernizr
//= require_tree .

2
app/views/layouts/application.html.haml

@ -1,6 +1,6 @@
!!! 5
/[if IE]
%html(lang="#{I18n.locale}")
%html.no-js(lang="#{I18n.locale}")
%head
%title=t '.title'

Loading…
Cancel
Save