polling for scoreboard added (appseceu)
This commit is contained in:
parent
a676fffc4e
commit
c7c664ad4a
@ -22,9 +22,7 @@ function($,
|
||||
//this.$el.html('test');
|
||||
var t = _.template(this.template);
|
||||
this.$el.html(t({'rankings':this.collection.toJSON()}));
|
||||
//TODO: add template (table) to iterate over ...
|
||||
//this.collection.toJSON(); << put that in the template data
|
||||
//TODO: set up next poll here with listenToOnce
|
||||
setTimeout(this.pollData.bind(this), 5000);
|
||||
},
|
||||
|
||||
pollData: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user