summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/HubView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-22 17:13:09 -0400
committerJules Laplace <jules@okfoc.us>2015-09-22 17:13:09 -0400
commit213de35b63327f8e1a9d54b40c6c390c4b5bea5f (patch)
tree2c9c32314f62e9d58df64c9bd1267fc2d374734f /StoneIsland/www/js/lib/blogs/HubView.js
parent4e62771a27bdb318ace378eff31a9c6eb67cfd8d (diff)
logos and some css
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
-rw-r--r--StoneIsland/www/js/lib/blogs/HubView.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js
index 88ae6f1f..ea9b3048 100644
--- a/StoneIsland/www/js/lib/blogs/HubView.js
+++ b/StoneIsland/www/js/lib/blogs/HubView.js
@@ -21,13 +21,13 @@ var HubView = View.extend({
this.$loader.hide()
this.$content.empty()
this.data.forEach(function(row){
- var t = this.template.replace({{image}}, row.image.url)
- .replace({{date}}, row.date)
- .replace({{code}}, row.code)
- .replace({{title}}, row.title)
- .replace({{subtitle}}, row.subtitle)
- .replace({{link}}, row.link)
- .replace({{body}}, row.body)
+ var t = this.template.replace(/{{image}}/, row.image.url)
+ .replace(/{{date}}/, row.date)
+ .replace(/{{code}}/, row.code)
+ .replace(/{{title}}/, row.title)
+ .replace(/{{subtitle}}/, row.subtitle)
+ .replace(/{{link}}/, row.link)
+ .replace(/{{body}}/, row.body)
this.$content.append(t)
}.bind(this))
},