From 612561818f907f0f9988247c82ec158ba4494986 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 24 Nov 2015 20:57:41 -0500 Subject: build --- StoneIsland/platforms/ios/www/js/index.js | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'StoneIsland/platforms/ios/www/js/index.js') diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js index e0b08351..ed8d9e5a 100644 --- a/StoneIsland/platforms/ios/www/js/index.js +++ b/StoneIsland/platforms/ios/www/js/index.js @@ -6,6 +6,11 @@ var app = (function(){ app.build() sdk.init({ env: "test" }) + + app.iscroll_options = { + mouseWheel: true, + scrollbars: true, + } if (window.cordova) { document.addEventListener('deviceready', app.ready, false) @@ -25,20 +30,34 @@ var app = (function(){ app.archive = new ArchiveView () app.hub = new HubView () app.story = new StoryView () - app.cart = new CartView () + app.intro = new IntroView () app.header = new HeaderView () app.footer = new FooterView () app.curtain = new CurtainView () app.nav = new NavView () + app.account = new AccountView () app.login = new LoginView () - app.intro = new IntroView () + app.logout = new LogoutView () + app.signup = new SignupView () + app.profile = new ProfileView () + app.payment = new PaymentView () + app.shipping = new ShippingView () + app.settings = new SettingsView () + app.orders = new OrdersView () - app.product = new ProductView () - app.collection = new CollectionView () + app.terms = new PageView ({ page: "terms" }) + app.privacy = new PageView ({ page: "privacy" }) + app.returns = new PageView ({ page: "returns" }) + app.care = new PageView ({ page: "care" }) + app.collection = new CollectionView () + app.product = new ProductView () + app.closed = new ClosedStoreView () + app.search = new SearchView () + app.selector = new Selector () } @@ -49,7 +68,7 @@ var app = (function(){ app.view = null app.router = new SiteRouter () - app.router.route() + app.account.connect( app.router.route.bind(app.router) ) } return app -- cgit v1.2.3-70-g09d2