From 213de35b63327f8e1a9d54b40c6c390c4b5bea5f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 22 Sep 2015 17:13:09 -0400 Subject: logos and some css --- StoneIsland/www/js/lib/blogs/HubView.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'StoneIsland/www/js/lib/blogs/HubView.js') 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)) }, -- cgit v1.2.3-70-g09d2