Skip to content

Commit

Permalink
Added modernizr
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Feb 20, 2016
1 parent b50b628 commit f41851f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Template/Layout/default.ctp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<?= \Locale::getPrimaryLanguage(\Cake\I18n\I18n::locale()) ?>">
<html lang="<?= \Locale::getPrimaryLanguage(\Cake\I18n\I18n::locale()) ?>" class="no-js">

<head>

Expand All @@ -18,6 +18,7 @@
<?= $this->fetch('meta') ?>
<?= $this->AssetCompress->css('platform') ?>
<?= $this->fetch('css') ?>
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
<?= $this->fetch('headjs') ?>

</head>
Expand Down

1 comment on commit f41851f

@ionas
Copy link

@ionas ionas commented on f41851f Feb 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd stay away from modernizr as well, see for instance: http://stackoverflow.com/a/22238927
Not in the means of always but more like use it for apps where you think it is required and makes-sense™

Please sign in to comment.