Quiet some ESLint errors (#1060)

Some via config, a few via code edits
This commit is contained in:
Pat Cavit 2016-05-19 22:18:31 -07:00
parent 79e4c4a104
commit 2ca8fa6e66
5 changed files with 16 additions and 7 deletions

View file

@ -67,7 +67,7 @@ module.exports = function($window, Promise) {
resolve(data)
$window[callbackKey] = undefined
}
script.onerror = function(e) {
script.onerror = function() {
script.parentNode.removeChild(script)
reject(new Error("JSONP request failed"))
$window[callbackKey] = undefined
@ -111,4 +111,4 @@ module.exports = function($window, Promise) {
function extract(xhr) {return xhr.responseText}
return {ajax: ajax, jsonp: jsonp}
}
}