Made eslint using 'browser' environment and added globals, because RainLoop is used in browsers.

This also allowed to remove all webpack 'externals' overhead.
This commit is contained in:
djmaze 2020-08-12 00:25:36 +02:00
parent c3a213802d
commit e7180a86ce
81 changed files with 1857 additions and 1259 deletions

View file

@ -1,7 +1,7 @@
import ko from 'ko';
import { Magics } from 'Common/Enums';
import { log, delegateRun, pInt } from 'Common/Utils';
import { delegateRun, pInt } from 'Common/Utils';
import PgpStore from 'Stores/User/Pgp';
@ -87,7 +87,7 @@ class NewOpenPgpKeyPopupView extends AbstractViewNext {
}
showError(e) {
log(e);
console.log(e);
if (e && e.message) {
this.submitError(e.message);
}