PAC kitchen prettier output

This commit is contained in:
Ilya Ig. Petrov 2017-11-29 13:36:02 +05:00
parent 30875cb9a1
commit a86b9f6a0e
2 changed files with 8 additions and 8 deletions

View File

@ -272,7 +272,7 @@
console.warn('PAC ERROR', details);
// TOOD: add "view pac script at this line" button.
handlers.mayNotify('pac-error', 'Ошибка PAC!',
details.error + '\n' + details.details,
(details.error || details.message /* Firefox */) + '\n' + details.details,
{icon: 'pac-error-128.png'}
);

View File

@ -451,15 +451,15 @@ ${ pacMods.filteredCustomsString
}()
}
};
/******/ };
if (global) {
/******/ if (global) {
/******/ global.FindProxyForURL = tmp;
} else {
/******/ } else {
/******/ FindProxyForURL = tmp;
}
/******/ }
})(this);`;
/*****/})(this);`;
},