mirror of
https://github.com/moparisthebest/mail
synced 2025-01-31 07:00:17 -05:00
Merge pull request #30 from whiteout-io/dev/worker
offload mail parsing to web worker
This commit is contained in:
commit
92090d6b0e
@ -36,4 +36,4 @@
|
|||||||
"grunt-contrib-compress": "~0.5.2",
|
"grunt-contrib-compress": "~0.5.2",
|
||||||
"grunt-node-webkit-builder": "~0.1.17"
|
"grunt-node-webkit-builder": "~0.1.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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