2013-04-01 18:12:15 -04:00
|
|
|
var app; // container for the application namespace
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 17:23:25 -04:00
|
|
|
(function() {
|
|
|
|
'use strict';
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 17:23:25 -04:00
|
|
|
/**
|
|
|
|
* Create the application namespace
|
|
|
|
*/
|
|
|
|
app = {
|
|
|
|
model: {},
|
|
|
|
view: {},
|
|
|
|
dao: {},
|
|
|
|
crypto: {},
|
|
|
|
util: {}
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Global app configurations
|
|
|
|
*/
|
|
|
|
app.config = {
|
2013-04-18 14:34:02 -04:00
|
|
|
cloudUrl: 'http://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-04-01 17:23:25 -04:00
|
|
|
workerPath: 'js'
|
|
|
|
};
|
|
|
|
|
|
|
|
}());
|