Browse Source

KERNEL-12408:base中eslint的修改

es6
chaos0156 2 years ago
parent
commit
c7650ce8bc
  1. 6
      src/base/single/input/file.js

6
src/base/single/input/file.js

@ -114,7 +114,7 @@
handler.onerror(); handler.onerror();
} }
return; return;
} }
for (var for (var
xhr = new XMLHttpRequest, xhr = new XMLHttpRequest,
@ -246,7 +246,7 @@ return;
xhr.send(form); xhr.send(form);
} }
return handler; return handler;
}; };
} else { } else {
// Internet Explorer, Opera, others // Internet Explorer, Opera, others
@ -354,7 +354,7 @@ return handler;
} }
xhr = null; xhr = null;
return sendFile; return sendFile;
}(Object.prototype.toString)); }(Object.prototype.toString));
function sendFiles(handler, maxSize, width, height) { function sendFiles(handler, maxSize, width, height) {

Loading…
Cancel
Save