From df6365f6716c8f39376299ccf69985e0111a6e52 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 29 Mar 2016 15:07:28 -0400 Subject: permalinking --- public/assets/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public/assets/js/app.js') diff --git a/public/assets/js/app.js b/public/assets/js/app.js index b3503de..bea8f27 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -59,8 +59,9 @@ var app = (function() { $("body").removeClass("loading") }, 20) - app.view = app.projects[0] - app.view.show() + app.router = new SiteRouter () + + app.router.launch() console.log("launched") } @@ -88,5 +89,4 @@ $('.top').flickity(app.flickity_options).on( 'cellSelect', function(e) { $(".previous, .next").css({ 'height': ($(".top").height() + 'px') }) - app.init() -- cgit v1.2.3-70-g09d2