From e273c92281e10c81f0605a0bf876d9a14bbe24d1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 23 Sep 2015 19:58:17 -0400 Subject: keydown --- public/assets/js/lib/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 public/assets/js/lib/index.js (limited to 'public/assets/js/lib/index.js') diff --git a/public/assets/js/lib/index.js b/public/assets/js/lib/index.js new file mode 100644 index 0000000..af381c1 --- /dev/null +++ b/public/assets/js/lib/index.js @@ -0,0 +1,18 @@ +var SiteRouter = Router.extend({ + + el: "body", + + routes: { + "/": 'login', + "/index": 'index', + }, + + initialize: function(){ + this.route() + }, + + index: function(){ + app.view = new IndexView () + }, + +}) \ No newline at end of file -- cgit v1.2.3-70-g09d2