diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-15 16:54:38 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-15 16:56:28 -0400 |
| commit | d5855a5d5b7c16a2c262ad2b98aabe5e8dd161f0 (patch) | |
| tree | 6debdaea50594aa9a57707d2cb2e360b5f5aa6d8 /StoneIsland/www/js/index.js | |
| parent | 007ef2401acf0a98d7412dba06e1acd5f3957a1b (diff) | |
begin writing navigation css
Diffstat (limited to 'StoneIsland/www/js/index.js')
| -rw-r--r-- | StoneIsland/www/js/index.js | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 9a8e945c..64027d2a 100644 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -2,19 +2,39 @@ var app = (function(){ var app = {} app.init = function(){ + app.archive = new ArchiveView () + app.hub = new HubView () + app.story = new StoryView () + + app.cart = new CartView () + + app.header = new HeaderView () + app.footer = new FooterView () + app.nav = new NavView () + + app.login = new LoginView () + app.intro = new IntroView () + + app.product = new ProductView () + app.collection = new CollectionView () + + app.selector = new Selector () + app.bind() } app.bind = function(){ + if (window.location.href.match("8000")) { app.ready() } document.addEventListener('deviceready', app.ready, false) } app.ready = function(){ app.view = null - app.nav = new NavView () app.router = new SiteRouter () + app.router.route() } - app.init() - + return app })() + +app.init() |
