print build date to console once

This commit is contained in:
Stefan Breunig 2013-02-23 10:50:08 +01:00
parent 713b5a16ff
commit 91f6f6d9d6
2 changed files with 3 additions and 1 deletions

View File

@ -233,7 +233,7 @@ window.setupDialogs = function() {
function boot() {
window.debug.console.overwriteNativeIfRequired();
console.log('loading done, booting');
console.log('loading done, booting. Built: ' + window.iitcBuildDate);
window.runOnSmartphonesBeforeBoot();
// overwrite default Leaflet Marker icon to be a neutral color

View File

@ -15,6 +15,8 @@
if(document.getElementsByTagName('html')[0].getAttribute('itemscope') != null)
throw('Ingress Intel Website is down, not a userscript issue.');
window.iitcBuildDate = '@@BUILDDATE@@';
// disable vanilla JS
window.onload = function() {};