0de2141b by brandonocasey

fixed style issues, bare playlist-loader conversion

fixed pre-existing assertion duplication issues
1 parent a07f52ee
...@@ -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);
......