mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 13:08:11 -05:00
Remove extra else in parseJSON
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user