summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-18 21:35:25 -0500
committerJules Laplace <jules@okfoc.us>2015-11-18 21:35:25 -0500
commit148b087a2f8c8972d18fd0a3aceb0d4f82f6741f (patch)
treefc9570aa7de61e520f38cea64d57ce625af3f528 /StoneIsland/www/js/lib/blogs/BlogView.js
parenta8d09a3420a94531d465057339a3e5b42a05c761 (diff)
rewrite faqview into pageview
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/BlogView.js')
-rw-r--r--StoneIsland/www/js/lib/blogs/BlogView.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js
index 357698f5..85ff8a35 100644
--- a/StoneIsland/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/www/js/lib/blogs/BlogView.js
@@ -28,7 +28,9 @@ var BlogView = View.extend({
this.loader.preloadImage(data.story[0].image.uri, function(img){
app.story.populate(data.story)
})
- app.faq.populate(data.page[0])
+ data.page.forEach(function(page){
+ app[page.tag].populate(page)
+ })
},
}) \ No newline at end of file