Commit 3609bed9 authored by Dan Heberden's avatar Dan Heberden

Remove extra else in parseJSON

parent a7e7dbd9
...@@ -528,9 +528,8 @@ jQuery.extend({ ...@@ -528,9 +528,8 @@ jQuery.extend({
return (new Function( "return " + data ))(); return (new Function( "return " + data ))();
} else {
jQuery.error( "Invalid JSON: " + data );
} }
jQuery.error( "Invalid JSON: " + data );
}, },
// Cross-browser xml parsing // Cross-browser xml parsing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment