summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/index/hootbox.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-06 10:40:33 -0400
committerJules Laplace <jules@okfoc.us>2015-09-06 10:40:33 -0400
commitf496fe34ecebd92b7c43b2beface68893adcae97 (patch)
treee09b02c91454541c4fef33bbae56a328a9304534 /public/assets/js/lib/views/index/hootbox.js
parent8e25a37aced0399ad13e2c184c618119ec3da16d (diff)
port several formatting functions from bucky
Diffstat (limited to 'public/assets/js/lib/views/index/hootbox.js')
-rw-r--r--public/assets/js/lib/views/index/hootbox.js4
1 files changed, 2 insertions, 2 deletions
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
},