1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 18:32:20 -05:00

Add comments to app.js

This commit is contained in:
Tankred Hase 2014-12-11 10:28:23 +01:00
parent 738d2671f7
commit 8c88f25875

View File

@ -1,8 +1,12 @@
'use strict';
// Check if a new AppCache is available on page load.
//
// AppCache
//
if (typeof window.applicationCache !== 'undefined') {
window.onload = function() {
// Check if a new AppCache is available on page load.
window.applicationCache.onupdateready = function() {
if (window.applicationCache.status === window.applicationCache.UPDATEREADY) {
// Browser downloaded a new app cache
@ -14,6 +18,10 @@ if (typeof window.applicationCache !== 'undefined') {
};
}
//
// Angular app config
//
var axe = require('axe-logger');
// include angular modules