diff --git a/.eslintrc b/.eslintrc index 3269a3eae..3fbfc3524 100644 --- a/.eslintrc +++ b/.eslintrc @@ -14,8 +14,7 @@ "Fix": true, "module": true, "Demo": true, - "_global": true, - "ActiveXObject": true + "_global": true }, "parser": "@typescript-eslint/parser", "parserOptions": { diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 570526f36..867756a7c 100644 --- a/src/base/single/input/file.js +++ b/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(