src/lib/util/EWSFactory.js
Function NTLMXHRAPI
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const NTLMXHRAPI = (function () {
function ntlmXHRApi (user, password) {
this.userName = user
this.password = password
}
Function xhr
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ntlmXHRApi.prototype.xhr = function (xhroptions) {
const _this = this
let userName = _this.userName
let domain = ''
if (userName.indexOf('\\') >= 0) {