summaryrefslogtreecommitdiff
path: root/new-reality/public/assets/js/lib/view/HomeView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-11-28 18:12:34 -0500
committerJules Laplace <jules@okfoc.us>2016-11-28 18:12:34 -0500
commitec41dd9dcc8e9af0d108297c6cfcfcef43d0d105 (patch)
treeec9569f69a6420e965661b3c03c252b4212c99f2 /new-reality/public/assets/js/lib/view/HomeView.js
parent2860b0ceae8e08704996b3397fb8b962ca60ab95 (diff)
new reality co
Diffstat (limited to 'new-reality/public/assets/js/lib/view/HomeView.js')
-rw-r--r--new-reality/public/assets/js/lib/view/HomeView.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/new-reality/public/assets/js/lib/view/HomeView.js b/new-reality/public/assets/js/lib/view/HomeView.js
new file mode 100644
index 0000000..b2ceec1
--- /dev/null
+++ b/new-reality/public/assets/js/lib/view/HomeView.js
@@ -0,0 +1,28 @@
+var HomeView = View.extend({
+
+ el: "#home",
+
+ // template: liquid($('#tmpl-home').html()),
+
+ events: {
+ },
+
+ initialize: function(options){
+ options = options || {}
+ var data = this.data = options.data
+ },
+
+ render: function(){
+ if (this.rendered) return
+ this.rendered = true
+ },
+
+ show: function(){
+ document.body.className = "home"
+ this.render(this.data)
+ },
+
+ hide: function(){
+ },
+
+})