Commit ebc5a7d1df409b34b41968d10410b8812f918aee
1 parent
907442b6
Exists in
colab
and in
4 other branches
Modernizr removed
It's not as necessary as it was 2 or 3 years ago. Now we can expect modern browsers.
Showing
4 changed files
with
1 additions
and
8 deletions
Show diff stats
Gemfile
| @@ -18,9 +18,6 @@ gem 'coffee-rails', '~> 4.0.0' | @@ -18,9 +18,6 @@ gem 'coffee-rails', '~> 4.0.0' | ||
| 18 | # See https://github.com/sstephenson/execjs#readme for more supported runtimes | 18 | # See https://github.com/sstephenson/execjs#readme for more supported runtimes |
| 19 | gem 'therubyracer', :platforms => :ruby | 19 | gem 'therubyracer', :platforms => :ruby |
| 20 | 20 | ||
| 21 | -# Use Modernizr for better browser compability | ||
| 22 | -gem 'modernizr-rails' | ||
| 23 | - | ||
| 24 | # Use jquery as the JavaScript library | 21 | # Use jquery as the JavaScript library |
| 25 | gem 'jquery-rails' | 22 | gem 'jquery-rails' |
| 26 | 23 |
Gemfile.lock
| @@ -149,7 +149,6 @@ GEM | @@ -149,7 +149,6 @@ GEM | ||
| 149 | minitest (5.3.4) | 149 | minitest (5.3.4) |
| 150 | mocha (1.1.0) | 150 | mocha (1.1.0) |
| 151 | metaclass (~> 0.0.1) | 151 | metaclass (~> 0.0.1) |
| 152 | - modernizr-rails (2.7.1) | ||
| 153 | multi_json (1.10.1) | 152 | multi_json (1.10.1) |
| 154 | multi_test (0.1.1) | 153 | multi_test (0.1.1) |
| 155 | multipart-post (2.0.0) | 154 | multipart-post (2.0.0) |
| @@ -283,7 +282,6 @@ DEPENDENCIES | @@ -283,7 +282,6 @@ DEPENDENCIES | ||
| 283 | kalibro_gatekeeper_client (~> 0.1.0) | 282 | kalibro_gatekeeper_client (~> 0.1.0) |
| 284 | konacha (~> 3.2.0) | 283 | konacha (~> 3.2.0) |
| 285 | mocha | 284 | mocha |
| 286 | - modernizr-rails | ||
| 287 | pg (~> 0.17.0) | 285 | pg (~> 0.17.0) |
| 288 | poltergeist (~> 1.5.0) | 286 | poltergeist (~> 1.5.0) |
| 289 | rails (= 4.1.1) | 287 | rails (= 4.1.1) |
app/views/layouts/application.html.erb
| @@ -9,8 +9,6 @@ | @@ -9,8 +9,6 @@ | ||
| 9 | 9 | ||
| 10 | <link type="text/plain" rel="author" href="humans.txt" /> | 10 | <link type="text/plain" rel="author" href="humans.txt" /> |
| 11 | 11 | ||
| 12 | - <%= javascript_include_tag :modernizr %> | ||
| 13 | - | ||
| 14 | <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> | 12 | <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> |
| 15 | <!--[if lt IE 9]> | 13 | <!--[if lt IE 9]> |
| 16 | <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script> | 14 | <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script> |