- Load jQuery before Modernizr so that the fallback method will
always be applied immediately after jQuery. If a script is
enqueued in the footer after jQuery, then the fallback shows up
in the footer. Modernizr will always be in the head so this
issue won't occur.
- Move plugins.js and main.js to footer
jQuery is still kept in the head to avoid conflicts with plugins
- Modernizr is now enqueued and included after stylesheets
- jQuery is no longer hardcoded since WP now supports protocol-relative
URLs
- jQuery fallback output is handled by a new function in lib/scripts.php
(the method is still the same one from HTML5 Boilerplate)
- Move Bootstrap LESS files into new subdirectory
- Change app.css to app.less, add @import's to utilize
Bootstrap variables and mixins
- Remove plugins.js and main.js
- Move Bootstrap JS plugins into new subdirectory
- Add new _main.js file with example DOM-based routing
script that works off the WordPress body_class
- lib/scripts.php has been updated to remove all extra
CSS and JS files and also places JavaScript in the footer