summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/index.js')
-rw-r--r--StoneIsland/platforms/ios/www/js/index.js29
1 files changed, 24 insertions, 5 deletions
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