summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/HubView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-05 19:26:28 -0500
committerJules Laplace <jules@okfoc.us>2015-11-05 19:26:28 -0500
commit07f85e3ed76d3760afb4ea4e984579fb70cab99e (patch)
tree01616826e10160b1aae19ce3f7399dcc69c90f7f /StoneIsland/www/js/lib/blogs/HubView.js
parentcc657e52cc793cb193df9c8f8ef9efadd6d7e819 (diff)
populate hub view
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
-rw-r--r--StoneIsland/www/js/lib/blogs/HubView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js
index 717fdd23..d44ce7c8 100644
--- a/StoneIsland/www/js/lib/blogs/HubView.js
+++ b/StoneIsland/www/js/lib/blogs/HubView.js
@@ -22,9 +22,9 @@ var HubView = View.extend({
this.$content.empty()
// id date subtitle body link image[uri caption]
this.data.forEach(function(row){
- var t = this.template.replace(/{{image}}/, row.images[0].uri)
+ console.log(row)
+ var t = this.template.replace(/{{image}}/, row.image[0].uri)
.replace(/{{date}}/, row.date)
- .replace(/{{code}}/, row.code)
.replace(/{{title}}/, row.title)
.replace(/{{subtitle}}/, row.subtitle)
.replace(/{{link}}/, row.link)