diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-11-28 18:11:12 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-11-28 18:11:12 -0500 |
| commit | 2860b0ceae8e08704996b3397fb8b962ca60ab95 (patch) | |
| tree | d2f868290adbfd6914aa5f139c4fcc5323a1dc7f /tree/public/assets/js/lib/view/AboutView.js | |
| parent | 0237b32f73b344deba694cd04fd61a52355ab33d (diff) | |
tree init
Diffstat (limited to 'tree/public/assets/js/lib/view/AboutView.js')
| -rw-r--r-- | tree/public/assets/js/lib/view/AboutView.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tree/public/assets/js/lib/view/AboutView.js b/tree/public/assets/js/lib/view/AboutView.js new file mode 100644 index 0000000..c2daf70 --- /dev/null +++ b/tree/public/assets/js/lib/view/AboutView.js @@ -0,0 +1,28 @@ +var AboutView = View.extend({ + + el: "#about", + + // template: liquid($('#tmpl-about').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 = "about" + this.render(this.data) + }, + + hide: function(){ + }, + +}) |
