2018-04-27 21:25:04 +00:00
|
|
|
(function() {
|
|
|
|
'use strict';
|
|
|
|
var BUILD_EXPIRATION = 0;
|
|
|
|
try {
|
2018-06-02 00:55:35 +00:00
|
|
|
BUILD_EXPIRATION = parseInt(window.getExpiration());
|
2018-04-27 21:25:04 +00:00
|
|
|
if (BUILD_EXPIRATION) {
|
|
|
|
console.log('Build expires: ', new Date(BUILD_EXPIRATION).toISOString());
|
|
|
|
}
|
|
|
|
} catch (e) {}
|
2016-04-04 02:34:34 +00:00
|
|
|
|
2018-04-27 21:25:04 +00:00
|
|
|
window.extension = window.extension || {};
|
2016-04-04 02:34:34 +00:00
|
|
|
|
2018-04-27 21:25:04 +00:00
|
|
|
extension.expired = function() {
|
|
|
|
return BUILD_EXPIRATION && Date.now() > BUILD_EXPIRATION;
|
|
|
|
};
|
2016-04-04 02:34:34 +00:00
|
|
|
})();
|