|
|
|
@ -116,8 +116,7 @@
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
for (var |
|
|
|
|
xhr = new XMLHttpRequest, |
|
|
|
|
for (var xhr = new XMLHttpRequest, |
|
|
|
|
upload = xhr.upload || { |
|
|
|
|
addEventListener: function (event, callback) { |
|
|
|
|
this["on" + event] = callback; |
|
|
|
@ -129,6 +128,7 @@
|
|
|
|
|
) { |
|
|
|
|
upload.addEventListener( |
|
|
|
|
split[i].substring(2), |
|
|
|
|
// eslint-disable-next-line no-loop-func
|
|
|
|
|
(function (event) { |
|
|
|
|
return function (rpe) { |
|
|
|
|
if (isFunction(handler[event])) { |
|
|
|
|