2013-06-10 21:14:57 -04:00
|
|
|
define([], function() {
|
2013-04-01 17:23:25 -04:00
|
|
|
'use strict';
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 17:23:25 -04:00
|
|
|
/**
|
|
|
|
* Create the application namespace
|
|
|
|
*/
|
2013-09-15 09:13:19 -04:00
|
|
|
var app = {};
|
2013-04-01 17:23:25 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Global app configurations
|
|
|
|
*/
|
|
|
|
app.config = {
|
2013-06-13 07:46:28 -04:00
|
|
|
cloudUrl: 'https://storage.whiteout.io',
|
2013-04-01 17:23:25 -04:00
|
|
|
symKeySize: 128,
|
2013-05-31 19:45:38 -04:00
|
|
|
symIvSize: 128,
|
|
|
|
asymKeySize: 1024,
|
2013-09-15 09:13:19 -04:00
|
|
|
workerPath: 'js',
|
|
|
|
gmail: {
|
|
|
|
clientId: '440907777130.apps.googleusercontent.com',
|
|
|
|
imap: {
|
|
|
|
secure: true,
|
|
|
|
port: 993,
|
|
|
|
host: 'imap.gmail.com'
|
|
|
|
},
|
|
|
|
smtp: {
|
|
|
|
secure: true,
|
|
|
|
port: 465,
|
|
|
|
host: 'smtp.gmail.com'
|
|
|
|
}
|
|
|
|
}
|
2013-04-01 17:23:25 -04:00
|
|
|
};
|
|
|
|
|
2013-09-15 09:13:19 -04:00
|
|
|
/**
|
|
|
|
* Strings are maintained here
|
|
|
|
*/
|
2013-09-13 08:11:47 -04:00
|
|
|
app.string = {
|
|
|
|
signature: 'Sent securely from whiteout mail'
|
|
|
|
};
|
|
|
|
|
2013-06-10 21:14:57 -04:00
|
|
|
return app;
|
|
|
|
});
|