hosting/server/htdocs/proxy/public/oops/index.html [316:366]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if (lcmf == rcmf) {
onlinestatus();
workingstatus(false);
return true;
}
//debug('cache-manifest changed, reloading');
ui.async(function() {
showstatus('Updating');
ui.async(function() {
map(function(res) {
appcache.remove(res[0]);
appcache.get(res[0], 'remote');
}, append(appresources, config.appresources()));
if (!isNull(lcmf)) {
//debug('reloading');
window.location.reload();
}
onlinestatus();
workingstatus(false);
});
});
}
})();
/**
* Handle network offline/online events.
*/
window.addEventListener('offline', function(e) {
//debug('going offline');
showstatus('Offline');
}, false);
window.addEventListener('online', function(e) {
//debug('going online');
showstatus('Online');
}, false);
/**
* Initialize the document.
*/
window.onload = function() {
//debug('onload');
return ui.onload();
};
})();
} catch(e) {
debug(e.stack);
throw e;
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hosting/server/htdocs/public/notyet/index.html [316:366]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if (lcmf == rcmf) {
onlinestatus();
workingstatus(false);
return true;
}
//debug('cache-manifest changed, reloading');
ui.async(function() {
showstatus('Updating');
ui.async(function() {
map(function(res) {
appcache.remove(res[0]);
appcache.get(res[0], 'remote');
}, append(appresources, config.appresources()));
if (!isNull(lcmf)) {
//debug('reloading');
window.location.reload();
}
onlinestatus();
workingstatus(false);
});
});
}
})();
/**
* Handle network offline/online events.
*/
window.addEventListener('offline', function(e) {
//debug('going offline');
showstatus('Offline');
}, false);
window.addEventListener('online', function(e) {
//debug('going online');
showstatus('Online');
}, false);
/**
* Initialize the document.
*/
window.onload = function() {
//debug('onload');
return ui.onload();
};
})();
} catch(e) {
debug(e.stack);
throw e;
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -