JSHint and jQuery: ‘$’ is not defined
The following JS: (function() { “use strict”; $(“#target”).click(function(){ console.log(“clicked”); }); }()); Yields: test.js: line 5, col 3, ‘$’ is not defined. When linted using JSHint 0.5.5. Any ideas? 9 Answers 9