diff options
| -rwxr-xr-x | StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate | bin | 41967 -> 41992 bytes | |||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/css/blogs.css | 5 | ||||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/index.js | 11 | ||||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js | 2 | ||||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/nav/NavView.js | 3 | ||||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/products/ProductView.js | 3 | ||||
| -rwxr-xr-x | StoneIsland/www/css/blogs.css | 5 | ||||
| -rwxr-xr-x | StoneIsland/www/js/index.js | 11 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/etc/geo.js | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/nav/NavView.js | 3 |
10 files changed, 33 insertions, 12 deletions
diff --git a/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate b/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex 67b972ba..c19c9120 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate +++ b/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/StoneIsland/platforms/ios/www/css/blogs.css b/StoneIsland/platforms/ios/www/css/blogs.css index 8b27dda9..ca5b4c7f 100755 --- a/StoneIsland/platforms/ios/www/css/blogs.css +++ b/StoneIsland/platforms/ios/www/css/blogs.css @@ -129,9 +129,7 @@ animation: mfadein 0.6s; z-index:2; position:absolute; display:block; - animation: gallery-fade 4s forwards; } - .gallery-right { border:1px solid black; background:rgba(255,255,255,1); @@ -151,6 +149,9 @@ animation: mfadein 0.6s; z-index:2; position:absolute; display:block; +} +.product .gallery-left, +.product .gallery-right { animation: gallery-fade 4s forwards; } diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js index 0770b0f6..4f1747ab 100755 --- a/StoneIsland/platforms/ios/www/js/index.js +++ b/StoneIsland/platforms/ios/www/js/index.js @@ -3,7 +3,7 @@ var app = (function(){ app.init = function(){ - sdk.init({ env: "test" }) + sdk.init({ env: "production" }) app.bind() app.build() @@ -66,6 +66,8 @@ var app = (function(){ if (window.cordova) { document.addEventListener('pause', app.paused, false) document.addEventListener('resume', app.resumed, false) + document.addEventListener('online', app.online, false) + document.addEventListener('offline', app.offline, false) cordova.plugins.Keyboard.disableScroll(true) geo.fetch() } @@ -92,6 +94,13 @@ var app = (function(){ } } + app.online = function(){ + console.log(">> ONLINE") + } + app.offline = function(){ + console.log(">> OFFLINE") + } + return app })() diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js index 4ed05bb8..687a3b95 100755 --- a/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js @@ -118,7 +118,7 @@ var HubView = ScrollableView.extend({ share: function(e){ var title = $(e.currentTarget).parent().find(".title").text() console.log("share", title) - window.plugins.socialsharing.share(title, null, null, "http://stoneisland.com/" ) + window.plugins.socialsharing.share(title, null, null, "http://deeplink.me/www.stoneisland.com/hub" ) }, })
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js b/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js index fc373858..f3818b7f 100755 --- a/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js +++ b/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js @@ -134,7 +134,8 @@ var NavView = View.extend({ this.hide() app.router.go("page/terms") }, - care: function(){ + care: function(e){ + e.preventDefault() window.open("http://www.stoneisland.com/localize.asp?tskay=4036416C&page=help/home&deviceYeti=smartphone", '_system') }, diff --git a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js index 5cfb0b50..cb9a0c5a 100755 --- a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js @@ -307,8 +307,7 @@ var ProductView = ScrollableView.extend({ }, share: function(){ - console.log("share") - window.plugins.socialsharing.share( this.item['ModelNames'], null, null, "http://stoneisland.com/") + window.plugins.socialsharing.share( this.item['ModelNames'], null, null, "http://deeplink.me/www.stoneisland.com/store/" + this.code) }, }) diff --git a/StoneIsland/www/css/blogs.css b/StoneIsland/www/css/blogs.css index 8b27dda9..ca5b4c7f 100755 --- a/StoneIsland/www/css/blogs.css +++ b/StoneIsland/www/css/blogs.css @@ -129,9 +129,7 @@ animation: mfadein 0.6s; z-index:2; position:absolute; display:block; - animation: gallery-fade 4s forwards; } - .gallery-right { border:1px solid black; background:rgba(255,255,255,1); @@ -151,6 +149,9 @@ animation: mfadein 0.6s; z-index:2; position:absolute; display:block; +} +.product .gallery-left, +.product .gallery-right { animation: gallery-fade 4s forwards; } diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 0770b0f6..4f1747ab 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -3,7 +3,7 @@ var app = (function(){ app.init = function(){ - sdk.init({ env: "test" }) + sdk.init({ env: "production" }) app.bind() app.build() @@ -66,6 +66,8 @@ var app = (function(){ if (window.cordova) { document.addEventListener('pause', app.paused, false) document.addEventListener('resume', app.resumed, false) + document.addEventListener('online', app.online, false) + document.addEventListener('offline', app.offline, false) cordova.plugins.Keyboard.disableScroll(true) geo.fetch() } @@ -92,6 +94,13 @@ var app = (function(){ } } + app.online = function(){ + console.log(">> ONLINE") + } + app.offline = function(){ + console.log(">> OFFLINE") + } + return app })() diff --git a/StoneIsland/www/js/lib/etc/geo.js b/StoneIsland/www/js/lib/etc/geo.js index 5af9ecfd..885a1c6c 100755 --- a/StoneIsland/www/js/lib/etc/geo.js +++ b/StoneIsland/www/js/lib/etc/geo.js @@ -10,7 +10,7 @@ var geo = (function(){ geo.success = function(position){ var lat_str = as_degrees( position.coords.latitude || 40.99167, "N", "S" ) - var lng_str = as_degrees( position.coords.longitude || -74.07944, "W", "E" ) + var lng_str = as_degrees( position.coords.longitude || -74.07944, "E", "W" ) $(".latlng").html( lat_str + " " + lng_str ) geo.done() } diff --git a/StoneIsland/www/js/lib/nav/NavView.js b/StoneIsland/www/js/lib/nav/NavView.js index fc373858..f3818b7f 100755 --- a/StoneIsland/www/js/lib/nav/NavView.js +++ b/StoneIsland/www/js/lib/nav/NavView.js @@ -134,7 +134,8 @@ var NavView = View.extend({ this.hide() app.router.go("page/terms") }, - care: function(){ + care: function(e){ + e.preventDefault() window.open("http://www.stoneisland.com/localize.asp?tskay=4036416C&page=help/home&deviceYeti=smartphone", '_system') }, |
