From 8bf5b7f2e3be707523d202066f0c14dcd172f46a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 Sep 2015 19:22:55 -0400 Subject: build --- StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js') diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js index 0f03a518..7f9b30a1 100644 --- a/StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js +++ b/StoneIsland/platforms/ios/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