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