From 148b087a2f8c8972d18fd0a3aceb0d4f82f6741f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 18 Nov 2015 21:35:25 -0500 Subject: rewrite faqview into pageview --- StoneIsland/www/js/lib/blogs/FaqView.js | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 StoneIsland/www/js/lib/blogs/FaqView.js (limited to 'StoneIsland/www/js/lib/blogs/FaqView.js') diff --git a/StoneIsland/www/js/lib/blogs/FaqView.js b/StoneIsland/www/js/lib/blogs/FaqView.js deleted file mode 100644 index fe7246db..00000000 --- a/StoneIsland/www/js/lib/blogs/FaqView.js +++ /dev/null @@ -1,24 +0,0 @@ -var FaqView = ScrollableView.extend({ - - el: "#faq", - - events: { - }, - - initialize: function(){ - this.$content = this.$(".content") - this.$loader = this.$(".loader") - this.scroller = new IScroll('#faq', app.iscroll_optionsx) - }, - - show: function(){ - this.deferScrollToTop() - app.footer.hide() - document.body.className = "faq" - }, - - populate: function(data){ - this.$content.html(data.body.replace(/\n/g, "
")) - } - -}) \ No newline at end of file -- cgit v1.2.3-70-g09d2