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/hootbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/assets/js/lib/views/index/hootbox.js') diff --git a/public/assets/js/lib/views/index/hootbox.js b/public/assets/js/lib/views/index/hootbox.js index 048c017..15de06b 100644 --- a/public/assets/js/lib/views/index/hootbox.js +++ b/public/assets/js/lib/views/index/hootbox.js @@ -1,4 +1,4 @@ -var HootboxView = FormView.extend({ +var HootBox = FormView.extend({ el: "#hootbox", @@ -17,7 +17,7 @@ var HootboxView = FormView.extend({ parse: function(comment){ var t = this.template.replace(/{{username}}/g, comment.username) - .replace(/{{comment}}/g, comment.comment) + .replace(/{{comment}}/g, comment.comment) return t }, -- cgit v1.2.3-70-g09d2