JSHint strict mode and JQuery: ‘$’ is not defined

2014/11/02

http://stackoverflow.com/questions/8852765/jshint-strict-mode-and-jquery-is-not-defined

Add this at the top of the script file

/*global $:false*/

Or can also add two lines to your .jshintrc

"globals": {
  "$":false,
  "jQuery":false,
  // other explicit global names to exclude
}