mirror of
https://github.com/moparisthebest/mail
synced 2024-11-23 01:12:19 -05:00
offload mail parsing to web worker
This commit is contained in:
parent
386fbfa307
commit
58eb7ecb6d
@ -12,7 +12,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
|
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
|
||||||
"imap-client": "https://github.com/whiteout-io/imap-client/tarball/master",
|
"imap-client": "https://github.com/whiteout-io/imap-client/tarball/master",
|
||||||
"mailreader": "https://github.com/whiteout-io/mailreader/tarball/master",
|
"mailreader": "https://github.com/whiteout-io/mailreader/tarball/dev/worker",
|
||||||
"pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/master",
|
"pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/master",
|
||||||
"pgpbuilder": "https://github.com/whiteout-io/pgpbuilder/tarball/master",
|
"pgpbuilder": "https://github.com/whiteout-io/pgpbuilder/tarball/master",
|
||||||
"requirejs": "2.1.10"
|
"requirejs": "2.1.10"
|
||||||
|
@ -337,6 +337,8 @@ define(function(require) {
|
|||||||
var lawnchairDao, restDao, pubkeyDao, invitationDao,
|
var lawnchairDao, restDao, pubkeyDao, invitationDao,
|
||||||
emailDao, keychain, pgp, userStorage, pgpbuilder;
|
emailDao, keychain, pgp, userStorage, pgpbuilder;
|
||||||
|
|
||||||
|
mailreader.startWorker(config.workerPath + '/../lib/mailreader-parser-worker.js');
|
||||||
|
|
||||||
// init objects and inject dependencies
|
// init objects and inject dependencies
|
||||||
restDao = new RestDAO();
|
restDao = new RestDAO();
|
||||||
pubkeyDao = new PublicKeyDAO(restDao);
|
pubkeyDao = new PublicKeyDAO(restDao);
|
||||||
|
Loading…
Reference in New Issue
Block a user