From 164fc4407621b4bd6448dd7790d684635a023726 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 16 Sep 2015 15:07:05 -0400 Subject: build --- .../platforms/ios/www/js/lib/blogs/ArchiveView.js | 20 ++++++++++++++++++++ .../platforms/ios/www/js/lib/blogs/HubView.js | 20 ++++++++++++++++++++ .../platforms/ios/www/js/lib/blogs/StoryView.js | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 StoneIsland/platforms/ios/www/js/lib/blogs/ArchiveView.js create mode 100644 StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js create mode 100644 StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs') diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/ArchiveView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/ArchiveView.js new file mode 100644 index 00000000..742ee0f2 --- /dev/null +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/ArchiveView.js @@ -0,0 +1,20 @@ +var ArchiveView = View.extend({ + + el: "#archive", + template: $("#archive .template").html(), + + events: { + }, + + initialize: function(){ + this.$content = this.$(".content") + }, + + show: function(){ + document.body.className = "archive" + }, + + populate: function(){ + }, + +}) \ No newline at end of file diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js new file mode 100644 index 00000000..430464b1 --- /dev/null +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js @@ -0,0 +1,20 @@ +var HubView = View.extend({ + + el: "#hub", + template: $("#hub .template").html(), + + events: { + }, + + initialize: function(){ + this.$content = this.$(".content") + }, + + show: function(){ + document.body.className = "hub" + }, + + populate: function(){ + }, + +}) \ No newline at end of file diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js new file mode 100644 index 00000000..ed46af31 --- /dev/null +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/StoryView.js @@ -0,0 +1,20 @@ +var StoryView = View.extend({ + + el: "#story", + template: $("#story .template").html(), + + events: { + }, + + initialize: function(){ + this.$content = this.$(".content") + }, + + show: function(){ + document.body.className = "story" + }, + + populate: function(){ + }, + +}) \ No newline at end of file -- cgit v1.2.3-70-g09d2