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, "Fix": true,
"module": true, "module": true,
"Demo": true, "Demo": true,
"_global": true, "_global": true
"ActiveXObject": true
}, },
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {

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

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

Loading…
Cancel
Save