From d73a4b1c5a2540077607dcc4001acbae85980ae4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 10 Sep 2015 14:58:03 -0400 Subject: app skeleton --- StoneIsland/www/js/index.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 StoneIsland/www/js/index.js (limited to 'StoneIsland/www/js/index.js') diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js new file mode 100644 index 00000000..676dedfc --- /dev/null +++ b/StoneIsland/www/js/index.js @@ -0,0 +1,19 @@ +var app = (function(){ + var app = {} + + app.init = function(){ + app.bind() + } + + app.bind = function(){ + document.addEventListener('deviceready', app.ready, false) + } + + app.ready = function(){ + app.view = null + app.router = new SiteRouter () + } + + app.init() + +})() -- cgit v1.2.3-70-g09d2