fixed style issues, bare playlist-loader conversion
fixed pre-existing assertion duplication issues
Showing
3 changed files
with
2 additions
and
4 deletions
This diff is collapsed.
Click to expand it.
... | @@ -35,10 +35,8 @@ const xhr = function(options, callback) { | ... | @@ -35,10 +35,8 @@ const xhr = function(options, callback) { |
35 | response.statusCode !== 200 && | 35 | response.statusCode !== 200 && |
36 | response.statusCode !== 206 && | 36 | response.statusCode !== 206 && |
37 | response.statusCode !== 0) { | 37 | response.statusCode !== 0) { |
38 | error = new Error( | 38 | error = new Error('XHR Failed with a response of: ' + |
39 | 'XHR Failed with a response of: ' + | 39 | (request && (request.response || request.responseText))); |
40 | (request && (request.response || request.responseText)) | ||
41 | ); | ||
42 | } | 40 | } |
43 | 41 | ||
44 | callback(error, request); | 42 | callback(error, request); | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment