You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Building new .min.js file
* Making this version available as download for 2.3
* Actually setting it to 2.3-"beta" in svn in preparation the next potential commit. Link to the download if you need stability
varfiltered=src.replace(/\\["\\\/bfnrtu]/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered)){returneval('('+src+')');}else{thrownewSyntaxError('Error parsing JSON, source is not valid.');}};$.quoteString=function(string){if(string.match(escapeable)){return'"'+string.replace(escapeable,function(a){varc=meta[a];if(typeofc==='string'){returnc;}
21
+
return'{'+pairs.join(',')+'}';}};$.evalJSON=typeofJSON==='object'&&JSON.parse?JSON.parse:function(src){returneval('('+src+')');};$.secureEvalJSON=typeofJSON==='object'&&JSON.parse?JSON.parse:function(src){varfiltered=src.replace(/\\["\\\/bfnrtu]/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered)){returneval('('+src+')');}else{thrownewSyntaxError('Error parsing JSON, source is not valid.');}};$.quoteString=function(string){if(string.match(escapeable)){return'"'+string.replace(escapeable,function(a){varc=meta[a];if(typeofc==='string'){returnc;}
0 commit comments