Fixed some bug in realtime-advanced demo

This commit is contained in:
Manu Mtz-Almeida
2015-05-13 17:34:42 +02:00
parent 1f11541011
commit 7149009a84
3 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ function stats(e) {
heapChart.push(data.heap)
mallocsChart.push(data.mallocs)
goroutinesChart.push(data.goroutines)
if(messagesChart) {
if (typeof messagesChart !== 'undefined') {
messagesChart.push(data.messages)
}
}