Format all source code using Prettier
This commit is contained in:
parent
b4dee3f30b
commit
1dd87ad197
149 changed files with 17847 additions and 15439 deletions
26
js/expire.js
26
js/expire.js
|
@ -1,16 +1,16 @@
|
|||
;(function() {
|
||||
'use strict';
|
||||
var BUILD_EXPIRATION = 0;
|
||||
try {
|
||||
BUILD_EXPIRATION = parseInt(window.config.buildExpiration);
|
||||
if (BUILD_EXPIRATION) {
|
||||
console.log("Build expires: ", new Date(BUILD_EXPIRATION).toISOString());
|
||||
}
|
||||
} catch (e) {}
|
||||
(function() {
|
||||
'use strict';
|
||||
var BUILD_EXPIRATION = 0;
|
||||
try {
|
||||
BUILD_EXPIRATION = parseInt(window.config.buildExpiration);
|
||||
if (BUILD_EXPIRATION) {
|
||||
console.log('Build expires: ', new Date(BUILD_EXPIRATION).toISOString());
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
window.extension = window.extension || {};
|
||||
window.extension = window.extension || {};
|
||||
|
||||
extension.expired = function() {
|
||||
return (BUILD_EXPIRATION && Date.now() > BUILD_EXPIRATION);
|
||||
};
|
||||
extension.expired = function() {
|
||||
return BUILD_EXPIRATION && Date.now() > BUILD_EXPIRATION;
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue