Remove window.config in favor of window.getXXX() accessors
This commit is contained in:
parent
d5ead799ce
commit
1c23c6a9d7
10 changed files with 45 additions and 49 deletions
|
@ -2,7 +2,7 @@
|
|||
'use strict';
|
||||
var BUILD_EXPIRATION = 0;
|
||||
try {
|
||||
BUILD_EXPIRATION = parseInt(window.config.buildExpiration);
|
||||
BUILD_EXPIRATION = parseInt(window.getExpiration());
|
||||
if (BUILD_EXPIRATION) {
|
||||
console.log('Build expires: ', new Date(BUILD_EXPIRATION).toISOString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue