diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-22 17:13:09 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-22 17:13:09 -0400 |
| commit | 213de35b63327f8e1a9d54b40c6c390c4b5bea5f (patch) | |
| tree | 2c9c32314f62e9d58df64c9bd1267fc2d374734f /StoneIsland/www/js/lib/blogs/HubView.js | |
| parent | 4e62771a27bdb318ace378eff31a9c6eb67cfd8d (diff) | |
logos and some css
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/blogs/HubView.js | 14 |
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)) }, |
