Cable-Desktop/js/expire.js
lilia c442a02cb6 Add build support for expiring old releases
Builds expire after 90 days.
2016-04-03 20:55:53 -07:00

10 líneas
228 B
JavaScript

;(function() {
'use strict';
var BUILD_EXPIRATION = 0;
window.extension = window.extension || {};
extension.expired = function() {
return (BUILD_EXPIRATION && Date.now() > BUILD_EXPIRATION);
};
})();