Skip to content

Commit

Permalink
Switch to minimal custom Modernizr build, bumping 2.6.2 to 3.6.0
Browse files Browse the repository at this point in the history
Modernizr was only being used to toggle .no-js class on html tag.
  • Loading branch information
delucis committed Sep 15, 2018
1 parent 47091fb commit 7f6689c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@
<meta name="msapplication-TileColor" content="#30ff8a">
<meta name="msapplication-TileImage" content="<?php _e (get_stylesheet_directory_uri() . '/img/favicon-144.png'); ?>">

<script src="<?php _e (get_stylesheet_directory_uri() . '/js/vendor/modernizr-2.6.2.min.js'); ?>"></script>
<link href="<?php _e (get_stylesheet_directory_uri() . '/font/DalaFloda-Bold-Web.woff2'); ?>" rel="preload" as="font" type="font/woff2">
<link href="<?php _e (get_stylesheet_directory_uri() . '/font/hgnm.woff2'); ?>" rel="preload" as="font" type="font/woff2">

<script async src="<?php _e (get_stylesheet_directory_uri() . '/js/vendor/modernizr-3.6.0.min.js'); ?>"></script>

<?php wp_head(); ?>
</head>
Expand Down
4 changes: 0 additions & 4 deletions js/vendor/modernizr-2.6.2.min.js

This file was deleted.

3 changes: 3 additions & 0 deletions js/vendor/modernizr-3.6.0.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f6689c

Please sign in to comment.