From 355f58177a3f4ec6af6ffbb909de8fbc91d2f833 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 23 Sep 2017 20:40:15 +0200 Subject: hit new endpoints --- .../user.xcuserdatad/UserInterfaceState.xcuserstate | Bin 37168 -> 37128 bytes .../ios/Stone Island/Stone Island-Info.plist | 4 ++-- StoneIsland/platforms/ios/Stone Island/config.xml | 12 ++++++------ .../platforms/ios/www/js/lib/blogs/BlogView.js | 13 +++++++++---- 4 files changed, 17 insertions(+), 12 deletions(-) (limited to 'StoneIsland/platforms') diff --git a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate index 272e3516..0a9d7d7c 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate and b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist index 2714e400..22781695 100644 --- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist +++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.8.8 + 0.9.0 CFBundleSignature ???? CFBundleURLTypes @@ -34,7 +34,7 @@ CFBundleVersion - 0.8.8 + 0.9.0 GCM_SENDER_ID XXXXXXX IS_GCM_ENABLED diff --git a/StoneIsland/platforms/ios/Stone Island/config.xml b/StoneIsland/platforms/ios/Stone Island/config.xml index 89ade77f..a224bc56 100755 --- a/StoneIsland/platforms/ios/Stone Island/config.xml +++ b/StoneIsland/platforms/ios/Stone Island/config.xml @@ -1,5 +1,5 @@ - + @@ -47,12 +47,15 @@ + + + Stone Island Stone Island - - OKFocus + + Jules Laplace @@ -86,7 +89,4 @@ - - - diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js index a6ec75f2..598a0241 100755 --- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js @@ -31,7 +31,14 @@ var BlogView = View.extend({ this.loaded = true this.data = data = typeof data == "string" ? JSON.parse(data) : data - app.store = data.store[0] + // sdk.env = 'test' + + if (sdk.env === 'test') { + app.store = data.store[1] + } + else { + app.store = data.store[0] + } switch (app.store.DepartmentStoreStatus) { case "open": @@ -44,8 +51,6 @@ var BlogView = View.extend({ break } - // sdk.env = 'test' - if (app.closed.storeIsClosed && sdk.env !== 'test') { app.closed.populate(app.store.ClosedStoreImages) } @@ -59,7 +64,7 @@ var BlogView = View.extend({ if (sdk.env === 'test') { app.department_id = window.location.search.substr(1) || app.department_id console.log('using test department id', app.department_id) - app.department_id = 'TSTSZS' + // app.department_id = 'TSTSZS' } app.collection.loaded = false app.collection.fetch() -- cgit v1.2.3-70-g09d2