From 44020d2947dc55f857ca97297e998eb04685a99e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 3 May 2018 00:50:30 +0200 Subject: run --- .../ios/Stone Island.xcarchive/Info.plist | 2 +- .../Applications/Stone Island.app/Assets.car | Bin 844136 -> 844136 bytes .../01J-lp-oVM-view-Ze5-6b-2t3.nib | Bin 2282 -> 2285 bytes .../UIViewController-01J-lp-oVM.nib | Bin 832 -> 832 bytes .../Stone Island.app/MainViewController.nib | Bin 943 -> 943 bytes .../Applications/Stone Island.app/Stone Island | Bin 2224192 -> 2224192 bytes .../Stone Island.app/_CodeSignature/CodeResources | 60 ++++++++++----------- .../Stone Island.app/www/css/products.css | 3 ++ .../Applications/Stone Island.app/www/db.json | 1 + .../Stone Island.app/www/js/lib/blogs/BlogView.js | 4 +- .../Stone Island.app/www/js/lib/blogs/HubView.js | 2 +- .../www/js/lib/products/GalleryView.js | 30 +++++------ .../www/js/lib/products/ProductView.js | 2 +- StoneIsland/platforms/ios/www/css/products.css | 3 ++ StoneIsland/platforms/ios/www/db.json | 1 + .../platforms/ios/www/js/lib/blogs/BlogView.js | 4 +- .../platforms/ios/www/js/lib/blogs/HubView.js | 2 +- .../ios/www/js/lib/products/GalleryView.js | 30 +++++------ .../ios/www/js/lib/products/ProductView.js | 2 +- 19 files changed, 79 insertions(+), 67 deletions(-) (limited to 'StoneIsland') diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist index 6376f422..fb46eb4a 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist @@ -18,7 +18,7 @@ ArchiveVersion 2 CreationDate - 2018-05-02T22:10:00Z + 2018-05-02T22:49:56Z Name Stone Island SchemeName diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car index 9a76fff8..2d4f3397 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib index c733b5ac..f33d3565 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib index 5505f5f5..10bdf3b8 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib index d5cba035..f449d370 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island index b51d09de..a7f337cd 100755 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources index 50cadfe3..e8a164e4 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources @@ -94,11 +94,11 @@ Assets.car - tszeoGh05zy+6mIi3uhQTDuyGl4= + sphNzFIHQE5Xy3dT5U+uOYBAhwY= CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib - 3kENpZV04BY77IF9fdI492Ejcsw= + z5XT5j6YAEqG+vs+Zz8jUzwsSGo= CDVLaunchScreen.storyboardc/Info.plist @@ -106,7 +106,7 @@ CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib - mhvCTFFXlxaLrmgLmrDZ+1ysqcQ= + TyysmZoRUG9EepCG0xmVo22HjJw= CDVNotification.bundle/beep.wav @@ -118,7 +118,7 @@ MainViewController.nib - BRzL+0NY/MDviGcrgPkKilkjmYw= + EsBFv1m3zmfNwjmKQ2V3lguuhao= PkgInfo @@ -230,7 +230,7 @@ www/css/products.css - 2lbW/9zg4FVs6UQJ/vCCpeQnF6k= + r3YescAlGVhaMbk6myaVMV+eUOw= www/css/vendor/flickity.css @@ -242,7 +242,7 @@ www/db.json - q3GcOypUIs2uCduVrFJaj2/zc1A= + RAMVliou8h0HBFR5Q1hxfwwpV7s= www/img/Resources/CDVNotification.bundle/beep.wav @@ -402,11 +402,11 @@ www/js/lib/blogs/BlogView.js - qSUN0kjez9Eywws2XkO+B1Y7dn8= + aZ+5qiDeL8j9O3mLYJ2lRcM8z0E= www/js/lib/blogs/HubView.js - w3T7QXHUtGjf5b3UCcQugEvvQvg= + YM/4bPctIVKnXQXEIjPhekLDNEE= www/js/lib/blogs/PageView.js @@ -506,11 +506,11 @@ www/js/lib/products/GalleryView.js - 6JQpjWlaofZTFXzrii03KZnlDL0= + 5rrxB1zyClIfmelN6ylnF/wLAU4= www/js/lib/products/ProductView.js - 6JrWWnP1sp7k9EeS0yPee5WcyI8= + 9QWWM7xqWIzmLvEafuD+DAp6HBE= www/js/lib/products/Selector.js @@ -941,22 +941,22 @@ hash - tszeoGh05zy+6mIi3uhQTDuyGl4= + sphNzFIHQE5Xy3dT5U+uOYBAhwY= hash2 - TXWLbTBHSTbsS/QoivSVU3Axfjow+6KtNCflCxcoYeQ= + mePBQSanbL7G2fLgInsGjuV8Z1fiTcTdaGrweJoYbPY= CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib hash - 3kENpZV04BY77IF9fdI492Ejcsw= + z5XT5j6YAEqG+vs+Zz8jUzwsSGo= hash2 - sqLN533a8SMMDopbnpIYbPvAZkC2eSDoNYA+vGhZA54= + XGeqkJv+1+vnO6RYcQiAjzvc2sYqtDAKbpGY3D/pIFo= CDVLaunchScreen.storyboardc/Info.plist @@ -974,11 +974,11 @@ hash - mhvCTFFXlxaLrmgLmrDZ+1ysqcQ= + TyysmZoRUG9EepCG0xmVo22HjJw= hash2 - ijE8+ot5dTiTWgsPT8NbPgEDhXd75F1NnY6JLXXmsGU= + tXFH+kbKTAEJKMWxUfoUemFUYwghwj4WxSaq4NwYCF8= CDVNotification.bundle/beep.wav @@ -996,11 +996,11 @@ hash - BRzL+0NY/MDviGcrgPkKilkjmYw= + EsBFv1m3zmfNwjmKQ2V3lguuhao= hash2 - zM+nLFEC7j9jraALjenv2omieTkmkRk6D9+mBarES0M= + x3uwdPEKTGZIcdguWFKa3bf84xtNCEBq7qtAjuwf65o= config.xml @@ -1293,11 +1293,11 @@ hash - 2lbW/9zg4FVs6UQJ/vCCpeQnF6k= + r3YescAlGVhaMbk6myaVMV+eUOw= hash2 - VMqP0OZJ/5Vu8PUadIzvPo+yyYSTjFL6nWySZURNyOU= + /PuuZYs1ylguHQ2tkUyrpd6fOowjmgvAoOvDO+XImI8= www/css/vendor/flickity.css @@ -1326,11 +1326,11 @@ hash - q3GcOypUIs2uCduVrFJaj2/zc1A= + RAMVliou8h0HBFR5Q1hxfwwpV7s= hash2 - Vv0ZNidUrgsLt/XFGB2F9wE4VDY2ynIFUfxlwgxDsHQ= + YQ8BwZvsCqGma1Kc4Z0dCB1S7Cj7DUNeItCXPwPQw1Y= www/img/Resources/CDVNotification.bundle/beep.wav @@ -1766,22 +1766,22 @@ hash - qSUN0kjez9Eywws2XkO+B1Y7dn8= + aZ+5qiDeL8j9O3mLYJ2lRcM8z0E= hash2 - R+L7y48BwjqUHNoxZRdpHiVmt4D8zMIq/MqDz1kawog= + bI2eCUofW93oFasnxX/7d36dRPwoiAyD+6vLlPhqP3s= www/js/lib/blogs/HubView.js hash - w3T7QXHUtGjf5b3UCcQugEvvQvg= + YM/4bPctIVKnXQXEIjPhekLDNEE= hash2 - ojFzqE6v9Xb8lcc0dX9qQC2cGcBPkkAc47siWA5VrBY= + /B6niCjDIjOhEw/TRZ2aF7xe7wPT4jdKejZGHMFAQjU= www/js/lib/blogs/PageView.js @@ -2052,22 +2052,22 @@ hash - 6JQpjWlaofZTFXzrii03KZnlDL0= + 5rrxB1zyClIfmelN6ylnF/wLAU4= hash2 - yvxnfm61aB8V8wdqpECJqGwJUD/pohw5zqxRj88/2xg= + CV7mdRSIzMi0B8qk+VkV7mErkQvlKQaNOnwJNAJElOg= www/js/lib/products/ProductView.js hash - 6JrWWnP1sp7k9EeS0yPee5WcyI8= + 9QWWM7xqWIzmLvEafuD+DAp6HBE= hash2 - I+zNYv5BUGQowjmh49eQKvgQsqCkeA//igObCbN5cEY= + JZDc7DlMJixJFW1mRRJclzy1pCwszdoxBwB0ZZdnyig= www/js/lib/products/Selector.js diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/products.css b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/products.css index 532beb69..d481a674 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/products.css +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/products.css @@ -216,6 +216,9 @@ text-transform:uppercase; padding:12px 0 0; } +.product .fit.altText { + text-decoration: none; +} #product .gallery-prev, #product .gallery-next { diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/db.json b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/db.json index f8067d3d..9bdae006 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/db.json +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/db.json @@ -3430,6 +3430,7 @@ "StoreClosedMessageOne": "", "StoreClosedMessageTwo": "", "FitsLarge": "true", + "FitsLargeText": "", "FittingCodes": "", "BackgroundIsGray": "false", "ClosedStoreImages": [ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js index 55320e7c..ed17e684 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js @@ -92,13 +92,15 @@ var BlogView = View.extend({ console.log(app.store.StoreStatus) + console.log(app.store.FitsLarge, app.store.fitsLargeText) app.product.fitLargeCodes = {} if (app.store.FittingCodes.length) { app.store.FittingCodes.split("\n").forEach(function(code){ app.product.fitLargeCodes[code] = true }) + console.log(app.store.FitsLarge, app.store.fitsLargeText) if (app.store.FitsLarge === 'use_alt_text' && (app.store.FitsLargeText || "").length) { - var fit_lines = app.store.FitsLargeText.split('\n').replace(//g, "&rt;").join("
") + var fit_lines = app.store.FitsLargeText.replace(//g, "&rt;").split('\n').join("
") $('.fit').html(fit_lines) $('.fit').addClass('altText') } diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/HubView.js index c09dd3b3..5e2ff67e 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/HubView.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/HubView.js @@ -183,7 +183,7 @@ var HubLoader = (function(){ HubLoader.build = function(){ view.append(item) view.scroller.refresh() - if (count < 20 && ! needed) return + if (count < 2 && ! needed) return // if (count === 10) return setTimeout(HubLoader.load, count < 10 ? 1000 : 5000) } diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/GalleryView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/GalleryView.js index 0c928739..0acd48c5 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/GalleryView.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/GalleryView.js @@ -9,7 +9,6 @@ var GalleryView = View.extend({ // "touchstart .gallery": "touchstart", // "touchmove .gallery": "touchmove", // "touchend .gallery": "touchend", - "click": "click", }, initialize: function(){ @@ -23,7 +22,7 @@ var GalleryView = View.extend({ populate: function(code, image_ids){ var valid_styles = {} - var large_styles = this.large_styles = {} + var large_styles = {} image_ids.forEach(function(id){ if (id.indexOf("_") == -1) return var partz = id.split("_") @@ -44,7 +43,7 @@ var GalleryView = View.extend({ this.$el.append(t) }.bind(this)) - this.gallery = new Flickity( "#gallery", { + var gallery = this.gallery = new Flickity( "#gallery", { selector: '.item', cellAlign: 'center', autoPlay: false, @@ -56,18 +55,19 @@ var GalleryView = View.extend({ contain: true, draggable: true, }) - }, - click: function(e){ - var currentImage = this.gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") - var partz = currentImage.split("_") - var head = partz[0] - var size = partz[1] - var tail = partz[2] - var end_partz = tail.split(/\./) - var style = end_partz[0] - var largest_size = this.large_styles[style] - var hiresImage = [head, largest_size, tail].join("_") - app.fullscreenViewer.show(currentImage, hiresImage) + + this.gallery.on('staticClick', function(e){ + var currentImage = gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") + var partz = currentImage.split("_") + var head = partz[0] + var size = partz[1] + var tail = partz[2] + var end_partz = tail.split(/\./) + var style = end_partz[0] + var largest_size = large_styles[style] + var hiresImage = [head, largest_size, tail].join("_") + app.fullscreenViewer.show(currentImage, hiresImage) + }) }, touchstart: function(e){ }, diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js index 97654a3f..c22c7962 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js @@ -182,7 +182,7 @@ var ProductView = ScrollableView.extend({ this.code = data['DefaultCode10'] console.log( data['DefaultCode10'] ) - +title += "
EXTREME COMPACTING ON NYLON BASE
LIMITED EDITION - NUMBERED 01 TO 100" if (title.indexOf('
') !== -1) { var title_lines = title.split('
').map(function(s){ if (s.indexOf("LIMITED EDITION")) { diff --git a/StoneIsland/platforms/ios/www/css/products.css b/StoneIsland/platforms/ios/www/css/products.css index 532beb69..d481a674 100755 --- a/StoneIsland/platforms/ios/www/css/products.css +++ b/StoneIsland/platforms/ios/www/css/products.css @@ -216,6 +216,9 @@ text-transform:uppercase; padding:12px 0 0; } +.product .fit.altText { + text-decoration: none; +} #product .gallery-prev, #product .gallery-next { diff --git a/StoneIsland/platforms/ios/www/db.json b/StoneIsland/platforms/ios/www/db.json index f8067d3d..9bdae006 100644 --- a/StoneIsland/platforms/ios/www/db.json +++ b/StoneIsland/platforms/ios/www/db.json @@ -3430,6 +3430,7 @@ "StoreClosedMessageOne": "", "StoreClosedMessageTwo": "", "FitsLarge": "true", + "FitsLargeText": "", "FittingCodes": "", "BackgroundIsGray": "false", "ClosedStoreImages": [ diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js index 55320e7c..ed17e684 100755 --- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js @@ -92,13 +92,15 @@ var BlogView = View.extend({ console.log(app.store.StoreStatus) + console.log(app.store.FitsLarge, app.store.fitsLargeText) app.product.fitLargeCodes = {} if (app.store.FittingCodes.length) { app.store.FittingCodes.split("\n").forEach(function(code){ app.product.fitLargeCodes[code] = true }) + console.log(app.store.FitsLarge, app.store.fitsLargeText) if (app.store.FitsLarge === 'use_alt_text' && (app.store.FitsLargeText || "").length) { - var fit_lines = app.store.FitsLargeText.split('\n').replace(//g, "&rt;").join("
") + var fit_lines = app.store.FitsLargeText.replace(//g, "&rt;").split('\n').join("
") $('.fit').html(fit_lines) $('.fit').addClass('altText') } diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js index c09dd3b3..5e2ff67e 100755 --- a/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/HubView.js @@ -183,7 +183,7 @@ var HubLoader = (function(){ HubLoader.build = function(){ view.append(item) view.scroller.refresh() - if (count < 20 && ! needed) return + if (count < 2 && ! needed) return // if (count === 10) return setTimeout(HubLoader.load, count < 10 ? 1000 : 5000) } diff --git a/StoneIsland/platforms/ios/www/js/lib/products/GalleryView.js b/StoneIsland/platforms/ios/www/js/lib/products/GalleryView.js index 0c928739..0acd48c5 100755 --- a/StoneIsland/platforms/ios/www/js/lib/products/GalleryView.js +++ b/StoneIsland/platforms/ios/www/js/lib/products/GalleryView.js @@ -9,7 +9,6 @@ var GalleryView = View.extend({ // "touchstart .gallery": "touchstart", // "touchmove .gallery": "touchmove", // "touchend .gallery": "touchend", - "click": "click", }, initialize: function(){ @@ -23,7 +22,7 @@ var GalleryView = View.extend({ populate: function(code, image_ids){ var valid_styles = {} - var large_styles = this.large_styles = {} + var large_styles = {} image_ids.forEach(function(id){ if (id.indexOf("_") == -1) return var partz = id.split("_") @@ -44,7 +43,7 @@ var GalleryView = View.extend({ this.$el.append(t) }.bind(this)) - this.gallery = new Flickity( "#gallery", { + var gallery = this.gallery = new Flickity( "#gallery", { selector: '.item', cellAlign: 'center', autoPlay: false, @@ -56,18 +55,19 @@ var GalleryView = View.extend({ contain: true, draggable: true, }) - }, - click: function(e){ - var currentImage = this.gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") - var partz = currentImage.split("_") - var head = partz[0] - var size = partz[1] - var tail = partz[2] - var end_partz = tail.split(/\./) - var style = end_partz[0] - var largest_size = this.large_styles[style] - var hiresImage = [head, largest_size, tail].join("_") - app.fullscreenViewer.show(currentImage, hiresImage) + + this.gallery.on('staticClick', function(e){ + var currentImage = gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") + var partz = currentImage.split("_") + var head = partz[0] + var size = partz[1] + var tail = partz[2] + var end_partz = tail.split(/\./) + var style = end_partz[0] + var largest_size = large_styles[style] + var hiresImage = [head, largest_size, tail].join("_") + app.fullscreenViewer.show(currentImage, hiresImage) + }) }, touchstart: function(e){ }, diff --git a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js index 97654a3f..c22c7962 100755 --- a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js @@ -182,7 +182,7 @@ var ProductView = ScrollableView.extend({ this.code = data['DefaultCode10'] console.log( data['DefaultCode10'] ) - +title += "
EXTREME COMPACTING ON NYLON BASE
LIMITED EDITION - NUMBERED 01 TO 100" if (title.indexOf('
') !== -1) { var title_lines = title.split('
').map(function(s){ if (s.indexOf("LIMITED EDITION")) { -- cgit v1.2.3-70-g09d2