Commit
Change uglify-js options for compressor Change variables initialization sequence for some declarations
- Loading branch information
There are no files selected for viewing
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -101,11 +101,7 @@ if ( xhrSupported ) { | ||
|
|
||
// Listener | // Listener | ||
callback = function( _, isAbort ) { | callback = function( _, isAbort ) { | ||
|
var status, responseHeaders, statusText, responses; | ||
This comment has been minimized.
Sorry, something went wrong.
jaubourg
Member
|
|||
var status, | |||
statusText, | |||
responseHeaders, | |||
responses; | |||
|
|
||
// Firefox throws exceptions when accessing properties | // Firefox throws exceptions when accessing properties | ||
// of an xhr when a network error occurred | // of an xhr when a network error occurred | ||
|
So, this is what I was talking about: related variables separated (
responseHeaders
,responseHeadersString
). Reason? Unknown unless you dig down the commit history.The whole declaration part is a mess now because it's impossible to determine what belongs together.