From f496fe34ecebd92b7c43b2beface68893adcae97 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 6 Sep 2015 10:40:33 -0400 Subject: port several formatting functions from bucky --- public/assets/js/lib/views/index/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/index/index.js') diff --git a/public/assets/js/lib/views/index/index.js b/public/assets/js/lib/views/index/index.js index cb648fa..473df38 100644 --- a/public/assets/js/lib/views/index/index.js +++ b/public/assets/js/lib/views/index/index.js @@ -7,7 +7,8 @@ var IndexView = View.extend({ initialize: function(opt){ // opt.parent = parent - this.hootbox = new HootboxView ({ parent: this }) + this.hootbox = new HootBox ({ parent: this }) + this.threadbox = new ThreadBox ({ parent: this }) this.load() }, @@ -17,6 +18,7 @@ var IndexView = View.extend({ populate: function(data){ this.hootbox.load(data.hootbox) + this.threadbox.load(data.threads) }, success: function(){ -- cgit v1.2.3-70-g09d2