Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Loads jquery 2.0.0 instead of failing back to 1.7.1 #158
Fixes an issue with jquery.hotkeys where any keystroke would cause the profiler UI to toggle. When 2.0.0 is used, or any version before 1.7, jquery.hotkeys will hook up special events to the wrong version of jquery (not the one miniprofiler loads: 1.7.1). This change fixes it only for 2.0.0.
added a commit
this pull request
May 22, 2013
This change breaks IE. The expressions are not grouped and thus the jQueryVersion tries to evaluate even when jQueryVersion is undefined.
Fix would be to do something like this:
Basically, add parens surrounding the second thru fourth expressions.