summaryrefslogtreecommitdiff
path: root/public/js/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-05 21:28:20 -0400
committerJules Laplace <jules@okfoc.us>2015-08-05 21:28:20 -0400
commit4514c2c49f0e0ec7cf9911dc254a8d20644d5def (patch)
treeb4ac5caea8dca1cdefebb8873adf9d957ce7ae2a /public/js/index.js
parent4d6b5e96fbab0602c1781a8b7c06f32aa9d56d99 (diff)
pushing messages into a div
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js3
1 files changed, 3 insertions, 0 deletions
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
})()