summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/index/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/lib/views/index/index.js')
-rw-r--r--public/assets/js/lib/views/index/index.js4
1 files changed, 3 insertions, 1 deletions
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(){