Merge pull request #55 from borntyping/patch-1

Log view does not limit the number of events
This commit is contained in:
Kyle Kingsbury 2014-02-27 12:23:18 -08:00
commit b3c3224c90

View file

@ -76,6 +76,9 @@
// Accept events from a subscription and update the log.
LogView.prototype.update = function(event) {
this.log.append(this.lineTemplate(event));
while (this.log[0].children.length > this.lines) {
this.log[0].deleteRow(0);
}
if (this.tracking) { this.scrollToBottom(); };
};