summaryrefslogtreecommitdiff
path: root/public/assets/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/app.js')
-rw-r--r--public/assets/js/app.js6
1 files changed, 3 insertions, 3 deletions
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()