Debugger kicking in with IE 5 and 7

Mar 19, 2015 at 6:02 PM
Hi,

Just a suggestion: to prevent the debugger from kicking in and allow the plug-in to gracefully fail with IE 7 and below, I added the following line at the top of jquery.rateit.js:
if (typeof(JSON) == 'undefined') return false;
Let me know if you have a better solution. Thanks for the great plugin!