byuweb / HTML-Templates

Development for BYU responsive theme
http://byuweb.github.io/HTML-Templates/
9 stars 9 forks source link

Don't forget to run HTML, CSS, JS through validator/lint to catch egregious errors. #59

Closed nwalton3 closed 11 years ago

nwalton3 commented 11 years ago

I know the output isn't always super-helpful for real-world implementation, but you can pick up glaring errors that way too.

nwalton3 commented 11 years ago

script.js run through jsLint and corrected.

nwalton3 commented 11 years ago

Wrapped all BYUWeb scripts in function closures with "use strict" directive. HTML validated.

nwalton3 commented 11 years ago

CSS validates mostly. Some errors from IE 6/7 hacks.

nwalton3 commented 11 years ago

Added jshint to grunt tasks. Now automatically checking js.