mirror of
https://github.com/beestat/app.git
synced 2025-06-02 13:18:27 -04:00
Temporarily adding some debug output to test mobile apps
This commit is contained in:
parent
99515022ce
commit
1c8b97381f
@ -11,7 +11,10 @@ beestat.enable_poll = function() {
|
|||||||
/**
|
/**
|
||||||
* Poll the database for changes and update the cache.
|
* Poll the database for changes and update the cache.
|
||||||
*/
|
*/
|
||||||
|
window.last_poll = moment();
|
||||||
beestat.poll = function() {
|
beestat.poll = function() {
|
||||||
|
window.last_poll = moment();
|
||||||
|
|
||||||
var api = new beestat.api();
|
var api = new beestat.api();
|
||||||
|
|
||||||
api.add_call(
|
api.add_call(
|
||||||
|
@ -58,5 +58,4 @@ beestat.component.card.footer.prototype.decorate_contents_ = function(parent) {
|
|||||||
.setAttribute('href', 'mailto:contact@beestat.io')
|
.setAttribute('href', 'mailto:contact@beestat.io')
|
||||||
.innerText('Contact')
|
.innerText('Contact')
|
||||||
);
|
);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -38,6 +38,10 @@ beestat.component.modal.thermostat_info.prototype.decorate_contents_ = function(
|
|||||||
'name': 'First Connected',
|
'name': 'First Connected',
|
||||||
'value': moment.utc(ecobee_thermostat.runtime.firstConnected).local()
|
'value': moment.utc(ecobee_thermostat.runtime.firstConnected).local()
|
||||||
.format('MMM Do, YYYY')
|
.format('MMM Do, YYYY')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'name': '#',
|
||||||
|
'value': window.last_poll.format()
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user