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:
parent
738d2671f7
commit
8c88f25875
@ -1,8 +1,12 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// Check if a new AppCache is available on page load.
|
//
|
||||||
|
// AppCache
|
||||||
|
//
|
||||||
|
|
||||||
if (typeof window.applicationCache !== 'undefined') {
|
if (typeof window.applicationCache !== 'undefined') {
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
|
// Check if a new AppCache is available on page load.
|
||||||
window.applicationCache.onupdateready = function() {
|
window.applicationCache.onupdateready = function() {
|
||||||
if (window.applicationCache.status === window.applicationCache.UPDATEREADY) {
|
if (window.applicationCache.status === window.applicationCache.UPDATEREADY) {
|
||||||
// Browser downloaded a new app cache
|
// Browser downloaded a new app cache
|
||||||
@ -14,6 +18,10 @@ if (typeof window.applicationCache !== 'undefined') {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Angular app config
|
||||||
|
//
|
||||||
|
|
||||||
var axe = require('axe-logger');
|
var axe = require('axe-logger');
|
||||||
|
|
||||||
// include angular modules
|
// include angular modules
|
||||||
|
Loading…
Reference in New Issue
Block a user