Skip to content
Permalink
Browse files

Remove extra else in parseJSON

  • Loading branch information...
danheberden committed Apr 5, 2011
1 parent a7e7dbd commit 3609bed9e7aa4c0aea4ebfc446ad15bc216aed0f
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core.js
@@ -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.
You can’t perform that action at this time.