From 007ef2401acf0a98d7412dba06e1acd5f3957a1b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 14 Sep 2015 19:12:33 -0400 Subject: stub blog views --- StoneIsland/www/js/lib/blogs/ArchiveView.js | 5 +++++ StoneIsland/www/js/lib/blogs/HubView.js | 7 ++++++- StoneIsland/www/js/lib/blogs/StoryView.js | 7 ++++++- 3 files changed, 17 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/blogs') diff --git a/StoneIsland/www/js/lib/blogs/ArchiveView.js b/StoneIsland/www/js/lib/blogs/ArchiveView.js index 673f3b3f..04b43a4b 100644 --- a/StoneIsland/www/js/lib/blogs/ArchiveView.js +++ b/StoneIsland/www/js/lib/blogs/ArchiveView.js @@ -1,11 +1,16 @@ var ArchiveView = View.extend({ el: "#archive", + template: $("#archive .template").html(), events: { }, initialize: function(){ + this.$content = this.$(".content") + }, + + populate: function(){ }, }) \ No newline at end of file diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js index 936c766f..4958b320 100644 --- a/StoneIsland/www/js/lib/blogs/HubView.js +++ b/StoneIsland/www/js/lib/blogs/HubView.js @@ -1,11 +1,16 @@ var HubView = View.extend({ el: "#hub", - + template: $("#hub .template").html(), + events: { }, initialize: function(){ + this.$content = this.$(".content") + }, + + populate: function(){ }, }) \ No newline at end of file diff --git a/StoneIsland/www/js/lib/blogs/StoryView.js b/StoneIsland/www/js/lib/blogs/StoryView.js index 338f124b..4c71e9ff 100644 --- a/StoneIsland/www/js/lib/blogs/StoryView.js +++ b/StoneIsland/www/js/lib/blogs/StoryView.js @@ -1,11 +1,16 @@ var StoryView = View.extend({ el: "#story", - + template: $("#story .template").html(), + events: { }, initialize: function(){ + this.$content = this.$(".content") + }, + + populate: function(){ }, }) \ No newline at end of file -- cgit v1.2.3-70-g09d2