“If jQuery” Snippet
Earlier today I was asked to remove a JavaScript error. The problem was that this particular partial was being used in places that had jQuery and places that didn’t. In the places where jQuery did not exist, an error was being generated about the $() syntax.
After a quick Google and …