Permalink
Browse files

Remove extra else in parseJSON

  • Loading branch information...
1 parent a7e7dbd commit 3609bed9e7aa4c0aea4ebfc446ad15bc216aed0f @danheberden danheberden committed Apr 5, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core.js
View
@@ -528,9 +528,8 @@ jQuery.extend({
return (new Function( "return " + data ))();
- } else {
- jQuery.error( "Invalid JSON: " + data );
}
+ jQuery.error( "Invalid JSON: " + data );
},
// Cross-browser xml parsing

0 comments on commit 3609bed

Please sign in to comment.