summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/index.js
blob: 9a8e945cc6754b8d9a22298dbcbbb247ce1f703a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.nav = new NavView ()
    app.router = new SiteRouter ()
  }
  
  app.init()

})()