From 4514c2c49f0e0ec7cf9911dc254a8d20644d5def Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 5 Aug 2015 21:28:20 -0400 Subject: pushing messages into a div --- public/js/index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 6e171fc..f46c1ac 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -5,6 +5,7 @@ var app = (function(){ user.init() app.router = new SiteRouter () + app.view = null $(window).on("focus", app.focus) $(window).on("blur", app.blur) @@ -21,4 +22,6 @@ var app = (function(){ } document.addEventListener('DOMContentLoaded', app.init) + + return app })() -- cgit v1.2.3-70-g09d2