summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist2
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.carbin844136 -> 844136 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nibbin2282 -> 2285 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nibbin832 -> 832 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nibbin943 -> 943 bytes
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Islandbin2224192 -> 2224192 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources60
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/products.css3
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/db.json1
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js4
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/HubView.js2
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/GalleryView.js30
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/css/products.css3
-rw-r--r--StoneIsland/platforms/ios/www/db.json1
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js4
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/HubView.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/products/GalleryView.js30
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/products/ProductView.js2
19 files changed, 79 insertions, 67 deletions
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 @@
<key>ArchiveVersion</key>
<integer>2</integer>
<key>CreationDate</key>
- <date>2018-05-02T22:10:00Z</date>
+ <date>2018-05-02T22:49:56Z</date>
<key>Name</key>
<string>Stone Island</string>
<key>SchemeName</key>
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
--- 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
Binary files 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
--- 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
Binary files 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
--- 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
Binary files 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
--- 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
Binary files 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
--- 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
Binary files 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 @@
</data>
<key>Assets.car</key>
<data>
- tszeoGh05zy+6mIi3uhQTDuyGl4=
+ sphNzFIHQE5Xy3dT5U+uOYBAhwY=
</data>
<key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
<data>
- 3kENpZV04BY77IF9fdI492Ejcsw=
+ z5XT5j6YAEqG+vs+Zz8jUzwsSGo=
</data>
<key>CDVLaunchScreen.storyboardc/Info.plist</key>
<data>
@@ -106,7 +106,7 @@
</data>
<key>CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key>
<data>
- mhvCTFFXlxaLrmgLmrDZ+1ysqcQ=
+ TyysmZoRUG9EepCG0xmVo22HjJw=
</data>
<key>CDVNotification.bundle/beep.wav</key>
<data>
@@ -118,7 +118,7 @@
</data>
<key>MainViewController.nib</key>
<data>
- BRzL+0NY/MDviGcrgPkKilkjmYw=
+ EsBFv1m3zmfNwjmKQ2V3lguuhao=
</data>
<key>PkgInfo</key>
<data>
@@ -230,7 +230,7 @@
</data>
<key>www/css/products.css</key>
<data>
- 2lbW/9zg4FVs6UQJ/vCCpeQnF6k=
+ r3YescAlGVhaMbk6myaVMV+eUOw=
</data>
<key>www/css/vendor/flickity.css</key>
<data>
@@ -242,7 +242,7 @@
</data>
<key>www/db.json</key>
<data>
- q3GcOypUIs2uCduVrFJaj2/zc1A=
+ RAMVliou8h0HBFR5Q1hxfwwpV7s=
</data>
<key>www/img/Resources/CDVNotification.bundle/beep.wav</key>
<data>
@@ -402,11 +402,11 @@
</data>
<key>www/js/lib/blogs/BlogView.js</key>
<data>
- qSUN0kjez9Eywws2XkO+B1Y7dn8=
+ aZ+5qiDeL8j9O3mLYJ2lRcM8z0E=
</data>
<key>www/js/lib/blogs/HubView.js</key>
<data>
- w3T7QXHUtGjf5b3UCcQugEvvQvg=
+ YM/4bPctIVKnXQXEIjPhekLDNEE=
</data>
<key>www/js/lib/blogs/PageView.js</key>
<data>
@@ -506,11 +506,11 @@
</data>
<key>www/js/lib/products/GalleryView.js</key>
<data>
- 6JQpjWlaofZTFXzrii03KZnlDL0=
+ 5rrxB1zyClIfmelN6ylnF/wLAU4=
</data>
<key>www/js/lib/products/ProductView.js</key>
<data>
- 6JrWWnP1sp7k9EeS0yPee5WcyI8=
+ 9QWWM7xqWIzmLvEafuD+DAp6HBE=
</data>
<key>www/js/lib/products/Selector.js</key>
<data>
@@ -941,22 +941,22 @@
<dict>
<key>hash</key>
<data>
- tszeoGh05zy+6mIi3uhQTDuyGl4=
+ sphNzFIHQE5Xy3dT5U+uOYBAhwY=
</data>
<key>hash2</key>
<data>
- TXWLbTBHSTbsS/QoivSVU3Axfjow+6KtNCflCxcoYeQ=
+ mePBQSanbL7G2fLgInsGjuV8Z1fiTcTdaGrweJoYbPY=
</data>
</dict>
<key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
<dict>
<key>hash</key>
<data>
- 3kENpZV04BY77IF9fdI492Ejcsw=
+ z5XT5j6YAEqG+vs+Zz8jUzwsSGo=
</data>
<key>hash2</key>
<data>
- sqLN533a8SMMDopbnpIYbPvAZkC2eSDoNYA+vGhZA54=
+ XGeqkJv+1+vnO6RYcQiAjzvc2sYqtDAKbpGY3D/pIFo=
</data>
</dict>
<key>CDVLaunchScreen.storyboardc/Info.plist</key>
@@ -974,11 +974,11 @@
<dict>
<key>hash</key>
<data>
- mhvCTFFXlxaLrmgLmrDZ+1ysqcQ=
+ TyysmZoRUG9EepCG0xmVo22HjJw=
</data>
<key>hash2</key>
<data>
- ijE8+ot5dTiTWgsPT8NbPgEDhXd75F1NnY6JLXXmsGU=
+ tXFH+kbKTAEJKMWxUfoUemFUYwghwj4WxSaq4NwYCF8=
</data>
</dict>
<key>CDVNotification.bundle/beep.wav</key>
@@ -996,11 +996,11 @@
<dict>
<key>hash</key>
<data>
- BRzL+0NY/MDviGcrgPkKilkjmYw=
+ EsBFv1m3zmfNwjmKQ2V3lguuhao=
</data>
<key>hash2</key>
<data>
- zM+nLFEC7j9jraALjenv2omieTkmkRk6D9+mBarES0M=
+ x3uwdPEKTGZIcdguWFKa3bf84xtNCEBq7qtAjuwf65o=
</data>
</dict>
<key>config.xml</key>
@@ -1293,11 +1293,11 @@
<dict>
<key>hash</key>
<data>
- 2lbW/9zg4FVs6UQJ/vCCpeQnF6k=
+ r3YescAlGVhaMbk6myaVMV+eUOw=
</data>
<key>hash2</key>
<data>
- VMqP0OZJ/5Vu8PUadIzvPo+yyYSTjFL6nWySZURNyOU=
+ /PuuZYs1ylguHQ2tkUyrpd6fOowjmgvAoOvDO+XImI8=
</data>
</dict>
<key>www/css/vendor/flickity.css</key>
@@ -1326,11 +1326,11 @@
<dict>
<key>hash</key>
<data>
- q3GcOypUIs2uCduVrFJaj2/zc1A=
+ RAMVliou8h0HBFR5Q1hxfwwpV7s=
</data>
<key>hash2</key>
<data>
- Vv0ZNidUrgsLt/XFGB2F9wE4VDY2ynIFUfxlwgxDsHQ=
+ YQ8BwZvsCqGma1Kc4Z0dCB1S7Cj7DUNeItCXPwPQw1Y=
</data>
</dict>
<key>www/img/Resources/CDVNotification.bundle/beep.wav</key>
@@ -1766,22 +1766,22 @@
<dict>
<key>hash</key>
<data>
- qSUN0kjez9Eywws2XkO+B1Y7dn8=
+ aZ+5qiDeL8j9O3mLYJ2lRcM8z0E=
</data>
<key>hash2</key>
<data>
- R+L7y48BwjqUHNoxZRdpHiVmt4D8zMIq/MqDz1kawog=
+ bI2eCUofW93oFasnxX/7d36dRPwoiAyD+6vLlPhqP3s=
</data>
</dict>
<key>www/js/lib/blogs/HubView.js</key>
<dict>
<key>hash</key>
<data>
- w3T7QXHUtGjf5b3UCcQugEvvQvg=
+ YM/4bPctIVKnXQXEIjPhekLDNEE=
</data>
<key>hash2</key>
<data>
- ojFzqE6v9Xb8lcc0dX9qQC2cGcBPkkAc47siWA5VrBY=
+ /B6niCjDIjOhEw/TRZ2aF7xe7wPT4jdKejZGHMFAQjU=
</data>
</dict>
<key>www/js/lib/blogs/PageView.js</key>
@@ -2052,22 +2052,22 @@
<dict>
<key>hash</key>
<data>
- 6JQpjWlaofZTFXzrii03KZnlDL0=
+ 5rrxB1zyClIfmelN6ylnF/wLAU4=
</data>
<key>hash2</key>
<data>
- yvxnfm61aB8V8wdqpECJqGwJUD/pohw5zqxRj88/2xg=
+ CV7mdRSIzMi0B8qk+VkV7mErkQvlKQaNOnwJNAJElOg=
</data>
</dict>
<key>www/js/lib/products/ProductView.js</key>
<dict>
<key>hash</key>
<data>
- 6JrWWnP1sp7k9EeS0yPee5WcyI8=
+ 9QWWM7xqWIzmLvEafuD+DAp6HBE=
</data>
<key>hash2</key>
<data>
- I+zNYv5BUGQowjmh49eQKvgQsqCkeA//igObCbN5cEY=
+ JZDc7DlMJixJFW1mRRJclzy1pCwszdoxBwB0ZZdnyig=
</data>
</dict>
<key>www/js/lib/products/Selector.js</key>
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, "&lt;").replace(/>/g, "&rt;").join("<br>")
+ var fit_lines = app.store.FitsLargeText.replace(/</g, "&lt;").replace(/>/g, "&rt;").split('\n').join("<br>")
$('.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 += "<br>EXTREME COMPACTING ON NYLON BASE<br>LIMITED EDITION - NUMBERED 01 TO 100"
if (title.indexOf('<br>') !== -1) {
var title_lines = title.split('<br>').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, "&lt;").replace(/>/g, "&rt;").join("<br>")
+ var fit_lines = app.store.FitsLargeText.replace(/</g, "&lt;").replace(/>/g, "&rt;").split('\n').join("<br>")
$('.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 += "<br>EXTREME COMPACTING ON NYLON BASE<br>LIMITED EDITION - NUMBERED 01 TO 100"
if (title.indexOf('<br>') !== -1) {
var title_lines = title.split('<br>').map(function(s){
if (s.indexOf("LIMITED EDITION")) {