diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-10 14:58:03 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-10 14:58:03 -0400 |
| commit | d73a4b1c5a2540077607dcc4001acbae85980ae4 (patch) | |
| tree | c30089f1742f9430bb18679dc6664157a5dc66f4 /StoneIsland/www/js/index.js | |
| parent | 124e6c0a8d9577b4a30e0b265f5c23d637c41966 (diff) | |
app skeleton
Diffstat (limited to 'StoneIsland/www/js/index.js')
| -rw-r--r-- | StoneIsland/www/js/index.js | 19 |
1 files changed, 19 insertions, 0 deletions
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() + +})() |
