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/StoryView.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'StoneIsland/www/js/lib/blogs/StoryView.js') diff --git a/StoneIsland/www/js/lib/blogs/StoryView.js b/StoneIsland/www/js/lib/blogs/StoryView.js index 0f03a518..7f9b30a1 100644 --- a/StoneIsland/www/js/lib/blogs/StoryView.js +++ b/StoneIsland/www/js/lib/blogs/StoryView.js @@ -21,10 +21,10 @@ var StoryView = 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({{title}}, row.title) - .replace({{body}}, row.body) + var t = this.template.replace(/{{image}}/, row.image.url) + .replace(/{{date}}/, row.date) + .replace(/{{title}}/, row.title) + .replace(/{{body}}/, row.body) this.$content.append(t) }.bind(this)) }, -- cgit v1.2.3-70-g09d2