Browse Source

KERNEL-12408:base中eslint的修改

es6
chaos0156 2 years ago
parent
commit
3755aca7b4
  1. 3
      .eslintrc
  2. 2
      src/base/single/input/file.js

3
.eslintrc

@ -14,8 +14,7 @@
"Fix": true,
"module": true,
"Demo": true,
"_global": true,
"ActiveXObject": true
"_global": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {

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

@ -88,7 +88,7 @@
var split = "onabort.onerror.onloadstart.onprogress".split("."),
length = split.length,
CRLF = "\r\n",
xhr = XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP"),
xhr = new XMLHttpRequest,
sendFile;
function multipart(boundary, name, file) {
return "--".concat(

Loading…
Cancel
Save