mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-21 08:25:00 -05:00
33 lines
557 B
JavaScript
33 lines
557 B
JavaScript
/***** mInitializer *****/
|
|
|
|
mInitializer = {
|
|
onDocumentComplete: function()
|
|
{
|
|
mDelete.initialize();
|
|
log("initialized");
|
|
},
|
|
|
|
onServiceBootstrap: function()
|
|
{
|
|
setInterval( function(){ MService.dispatchEvents(); }, 250);
|
|
}
|
|
} ;
|
|
|
|
function onMailiverseBootstrapGWT(service)
|
|
{
|
|
MService = service;
|
|
mInitializer.onServiceBootstrap();
|
|
}
|
|
|
|
function onMailiverseServiceLoaded ()
|
|
{
|
|
MService.setDelegate(mDelegate);
|
|
$('#_mLoading').hide();
|
|
mDelete.onServiceLoaded();
|
|
}
|
|
|
|
$(function() { mInitializer.onDocumentComplete();});
|
|
|
|
|
|
/***** mInitializer *****/
|