From aa14cf56259f7e7ffb4c18af013cdfcfc56953fa Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 10 May 2018 16:45:35 +0200 Subject: sizing footer. phook script --- StoneIsland/config.xml | 5 +- StoneIsland/package-lock.json | 106 +++++++++++++++++---- StoneIsland/package.json | 3 +- .../ios/Stone Island.xcarchive/Info.plist | 6 +- .../Applications/Stone Island.app/Assets.car | Bin 844136 -> 844136 bytes .../01J-lp-oVM-view-Ze5-6b-2t3.nib | Bin 2285 -> 2281 bytes .../UIViewController-01J-lp-oVM.nib | Bin 832 -> 832 bytes .../Applications/Stone Island.app/Info.plist | Bin 1698 -> 1762 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 | 38 ++++---- .../Applications/Stone Island.app/config.xml | 3 +- .../www/js/lib/products/ProductView.js | 8 +- .../UserInterfaceState.xcuserstate | Bin 24306 -> 25200 bytes .../ios/Stone Island/Stone Island-Info.plist | 6 +- StoneIsland/platforms/ios/Stone Island/config.xml | 3 +- .../ios/www/js/lib/products/ProductView.js | 8 +- StoneIsland/scripts/plist-hook.js | 16 ++++ StoneIsland/www/css/products.css | 2 +- StoneIsland/www/index.html | 2 +- StoneIsland/www/js/lib/products/ProductView.js | 27 ++++-- 21 files changed, 165 insertions(+), 68 deletions(-) create mode 100644 StoneIsland/scripts/plist-hook.js (limited to 'StoneIsland') diff --git a/StoneIsland/config.xml b/StoneIsland/config.xml index 4e4ec247..cd554743 100755 --- a/StoneIsland/config.xml +++ b/StoneIsland/config.xml @@ -1,5 +1,5 @@ - + Stone Island Stone Island @@ -81,6 +81,9 @@ + + + diff --git a/StoneIsland/package-lock.json b/StoneIsland/package-lock.json index 1c538962..2c8aec33 100644 --- a/StoneIsland/package-lock.json +++ b/StoneIsland/package-lock.json @@ -142,8 +142,9 @@ "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" }, "base64-js": { - "version": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==" }, "bcrypt-pbkdf": { "version": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", @@ -816,7 +817,7 @@ "glob": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", "minimatch": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz", "osenv": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", - "plist": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "plist": "1.2.0", "q": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", "semver": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", "shelljs": "https://registry.npmjs.org/shelljs/-/shelljs-0.5.3.tgz", @@ -824,6 +825,22 @@ "unorm": "https://registry.npmjs.org/unorm/-/unorm-1.4.1.tgz" }, "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, + "plist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, "q": { "version": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=" @@ -831,6 +848,14 @@ "underscore": { "version": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + }, + "xmlbuilder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", + "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", + "requires": { + "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" + } } } }, @@ -1223,7 +1248,7 @@ "nopt": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", "npm": "https://registry.npmjs.org/npm/-/npm-2.15.11.tgz", "opener": "https://registry.npmjs.org/opener/-/opener-1.4.1.tgz", - "plist": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "plist": "1.2.0", "properties-parser": "https://registry.npmjs.org/properties-parser/-/properties-parser-0.2.3.tgz", "q": "https://registry.npmjs.org/q/-/q-1.0.1.tgz", "request": "https://registry.npmjs.org/request/-/request-2.47.0.tgz", @@ -1236,6 +1261,11 @@ "xcode": "https://registry.npmjs.org/xcode/-/xcode-0.9.1.tgz" }, "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, "elementtree": { "version": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz", "integrity": "sha1-KsTEbqMFFsjEy9teOsdBjlkt4gw=", @@ -1250,6 +1280,17 @@ "abbrev": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz" } }, + "plist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, "sax": { "version": "https://registry.npmjs.org/sax/-/sax-0.3.5.tgz", "integrity": "sha1-iPz8H3PAyLvVt8d2ttPzUB7tBz0=" @@ -1265,6 +1306,14 @@ "unorm": { "version": "https://registry.npmjs.org/unorm/-/unorm-1.3.3.tgz", "integrity": "sha1-Fqh3JnHr1vfN5vjF5Ju2CsR9upM=" + }, + "xmlbuilder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", + "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", + "requires": { + "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" + } } } }, @@ -4197,13 +4246,13 @@ } }, "plist": { - "version": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", - "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz", + "integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==", "requires": { - "base64-js": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "xmlbuilder": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", - "xmldom": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz" + "base64-js": "1.3.0", + "xmlbuilder": "9.0.7", + "xmldom": "0.1.27" } }, "prepend-http": { @@ -4580,12 +4629,36 @@ "requires": { "bplist-creator": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.4.tgz", "bplist-parser": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz", - "plist": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz" + "plist": "1.2.0" }, "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, "bplist-parser": { "version": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz", "integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk=" + }, + "plist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, + "xmlbuilder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", + "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", + "requires": { + "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" + } } } }, @@ -4977,14 +5050,13 @@ } }, "xmlbuilder": { - "version": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", - "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", - "requires": { - "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" - } + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" }, "xmldom": { - "version": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", "integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk=" }, "xtend": { diff --git a/StoneIsland/package.json b/StoneIsland/package.json index 523d71e9..f9cefa21 100644 --- a/StoneIsland/package.json +++ b/StoneIsland/package.json @@ -21,7 +21,8 @@ "cordova-plugin-x-socialsharing": "~5.1.3", "ionic-plugin-keyboard": "~2.2.1", "ios-deploy": "^1.9.0", - "phonegap-plugin-push": "^1.9.2" + "phonegap-plugin-push": "^1.9.2", + "plist": "^3.0.1" }, "devDependencies": {}, "scripts": { diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist index 8a5838ca..ced61ea4 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist @@ -9,16 +9,16 @@ CFBundleIdentifier us.okfoc.stoneisland CFBundleShortVersionString - 0.9.8 + 1.0.0 CFBundleVersion - 0.9.8 + 1.0.0 SigningIdentity iPhone Developer: Francesca Agusani (3ECUPBTQ5W) ArchiveVersion 2 CreationDate - 2018-05-08T15:30:48Z + 2018-05-08T16:23:47Z 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 b7b16be5..6b3c8f41 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 3fd83cc9..1b9b2bfd 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 8bf77835..bd3514e7 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/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plist index c8222107..95ec1105 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plist and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plist 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 4089b095..2fe5fbba 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 0faa9935..b277d220 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 699c247a..e645e314 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 - GKP5ELVZRAReX7Y+C0G4yaxO6Kk= + rbVRVjxkfbEFIIRuwdmt0fbtqyY= CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib - fOTgbUJk54yRmkWcTCFT7+wmKjU= + 3qBcI0muSJy84XGcOiGDkTjm37U= CDVLaunchScreen.storyboardc/Info.plist @@ -106,7 +106,7 @@ CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib - 2ttmDwLkZmOQZJm81hHhfHMJTBw= + 89SeBM56ckI1VBEq/Oqn6x1suWQ= CDVNotification.bundle/beep.wav @@ -114,11 +114,11 @@ Info.plist - Yul7bmLznc1YIrfVX2QvHlK5pGc= + oWTS+H88CDlZzQg6LKUHcFmfd7M= MainViewController.nib - HZ5DMDECsAU+S/qRs69uof0bGOw= + 3ExoioWyNmo2DUcs9PhU0dVVG7c= PkgInfo @@ -126,7 +126,7 @@ config.xml - faS9ppW9ccAqrjcRLtnAzvb32qM= + /VE2neY/hKaDUqsaf5+fU7PCPLM= embedded.mobileprovision @@ -510,7 +510,7 @@ www/js/lib/products/ProductView.js - n2nL3c4JKuvvbphytqgMxrIUvwQ= + cjUZby3UfvLmfJkr5DrCrF/F6ZA= www/js/lib/products/Selector.js @@ -941,22 +941,22 @@ hash - GKP5ELVZRAReX7Y+C0G4yaxO6Kk= + rbVRVjxkfbEFIIRuwdmt0fbtqyY= hash2 - yqlk5wIVvuYcfWsc2ptvccPo4BlkcLNAwm7y1mlpwDc= + Y5hE6isGvN6u7nYkQ2ZqJi2DAFhBjw1/9Q6LGyV+IGc= CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib hash - fOTgbUJk54yRmkWcTCFT7+wmKjU= + 3qBcI0muSJy84XGcOiGDkTjm37U= hash2 - 0Eha3DYx0sAhLInrB1lubAuKAPMw5k6YaIqJYZIYXxg= + nppErCbgnTY1RuhJZ8nx3RO+CKCk4Xj1c+zQ67lz53s= CDVLaunchScreen.storyboardc/Info.plist @@ -974,11 +974,11 @@ hash - 2ttmDwLkZmOQZJm81hHhfHMJTBw= + 89SeBM56ckI1VBEq/Oqn6x1suWQ= hash2 - hcbgM16lH6WLo1zlYhPN5Qo21wTTl5uR63kAbNvLiPQ= + IfUmr46WtIoiSX8VgwEb6C0h1FdLXiUx1SzljbrwIx0= CDVNotification.bundle/beep.wav @@ -996,22 +996,22 @@ hash - HZ5DMDECsAU+S/qRs69uof0bGOw= + 3ExoioWyNmo2DUcs9PhU0dVVG7c= hash2 - mR0ZMA3Uffd25oLklAZIOryyJv3p2HhspURsuhrkXK4= + 5DIqogHK290Ai/U41R27EnFHfkNjHr6Sus/guxenZvQ= config.xml hash - faS9ppW9ccAqrjcRLtnAzvb32qM= + /VE2neY/hKaDUqsaf5+fU7PCPLM= hash2 - LEBqt8n9NCEajXrUgKiYDAQMDadWgmHlaNMYK9W18N4= + 7Vm9XDWoQlcRCizuSVMJVgXTUsZ1v65ZHjyobyAwFP8= embedded.mobileprovision @@ -2063,11 +2063,11 @@ hash - n2nL3c4JKuvvbphytqgMxrIUvwQ= + cjUZby3UfvLmfJkr5DrCrF/F6ZA= hash2 - 7iJuUgBMAyWIjtX3XCsW00JkOrBJZImKfSeW30aa5Mc= + WMEhxv0pPpCeaY1Hb+ennVQZuOYsh43Xn4/iYIjZnJU= www/js/lib/products/Selector.js diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml index 09325044..aeb76b9b 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml @@ -1,5 +1,5 @@ - + @@ -90,6 +90,7 @@ + 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 7d782273..59726384 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 @@ -213,18 +213,16 @@ var ProductView = ScrollableView.extend({ var fit_lines = app.store.FitsLargeText.replace(//g, "&rt;").split('\n').join("
") $('.fitFooter').html(fit_lines) $('.fitFooter').show() - app.product.$fit.hide() - app.product.$sizing.hide() } else { - app.product.$fit.show() - app.product.$sizing.show() $('.fitFooter').hide() } + app.product.$fit.show() + app.product.$sizing.show() } else { + $('.fitFooter').hide() app.product.$fit.hide() app.product.$sizing.hide() - $('.fitFooter').hide() } this.deferScrollToTop() 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 188c62aa..6372106b 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 ad817847..45fd94d3 100644 --- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist +++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist @@ -21,11 +21,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.9.8 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 0.9.8 + 1.0.0 LSRequiresIPhoneOS NSMainNibFile @@ -65,7 +65,7 @@ NSLocationWhenInUseUsageDescription - + Stone Island needs to serve content based on your location. UIBackgroundModes remote-notification diff --git a/StoneIsland/platforms/ios/Stone Island/config.xml b/StoneIsland/platforms/ios/Stone Island/config.xml index 09325044..aeb76b9b 100755 --- a/StoneIsland/platforms/ios/Stone Island/config.xml +++ b/StoneIsland/platforms/ios/Stone Island/config.xml @@ -1,5 +1,5 @@ - + @@ -90,6 +90,7 @@ + diff --git a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js index 7d782273..59726384 100755 --- a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js @@ -213,18 +213,16 @@ var ProductView = ScrollableView.extend({ var fit_lines = app.store.FitsLargeText.replace(//g, "&rt;").split('\n').join("
") $('.fitFooter').html(fit_lines) $('.fitFooter').show() - app.product.$fit.hide() - app.product.$sizing.hide() } else { - app.product.$fit.show() - app.product.$sizing.show() $('.fitFooter').hide() } + app.product.$fit.show() + app.product.$sizing.show() } else { + $('.fitFooter').hide() app.product.$fit.hide() app.product.$sizing.hide() - $('.fitFooter').hide() } this.deferScrollToTop() diff --git a/StoneIsland/scripts/plist-hook.js b/StoneIsland/scripts/plist-hook.js new file mode 100644 index 00000000..a1827079 --- /dev/null +++ b/StoneIsland/scripts/plist-hook.js @@ -0,0 +1,16 @@ +var fs = require('fs'); // nodejs.org/api/fs.html +var plist = require('plist'); // www.npmjs.com/package/plist + +var FILEPATH = 'platforms/ios/Stone Island/Stone Island-Info.plist' + +module.exports = function (context) { + + var xml = fs.readFileSync(FILEPATH, 'utf8'); + var obj = plist.parse(xml); + + obj.NSLocationWhenInUseUsageDescription = "Stone Island needs to serve content based on your location." + + xml = plist.build(obj); + fs.writeFileSync(FILEPATH, xml, { encoding: 'utf8' }); + +}; diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index d78801f8..59bb403f 100755 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -216,7 +216,7 @@ text-transform:uppercase; padding:12px 0 0; } -.product .fitFooter { +.product .fitHeader { clear:both; font-size:9px; letter-spacing:0.5px; diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 9221d0be..92769657 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -278,7 +278,7 @@
Fits Large
-
+
Not Available In Canada
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index 59726384..66554ce7 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -26,7 +26,7 @@ var ProductView = ScrollableView.extend({ this.$color = this.$(".color") this.$body = this.$(".body") this.$fit = this.$(".fit") - this.$fitFooter = this.$('.fitFooter') + this.$fitHeader = this.$('.fitHeader') this.$notAvailableInCanada = this.$(".notAvailableInCanada") this.$sizing = this.$(".sizing") this.$style = this.$(".style") @@ -211,20 +211,27 @@ var ProductView = ScrollableView.extend({ if (fits_large) { if (app.store.FitsLarge === 'use_alt_text' && (app.store.FitsLargeText || "").length) { var fit_lines = app.store.FitsLargeText.replace(//g, "&rt;").split('\n').join("
") - $('.fitFooter').html(fit_lines) - $('.fitFooter').show() + this.$fitHeader.html(fit_lines) + this.$fitHeader.show() } else { - $('.fitFooter').hide() + this.$fitHeader.hide() } - app.product.$fit.show() - app.product.$sizing.show() + this.$fit.show() } else { - $('.fitFooter').hide() - app.product.$fit.hide() - app.product.$sizing.hide() + this.$fitFooter.hide() + this.$fit.hide() } - + + if (app.store.SizingFooter === 'use_alt_text' && (app.store.SizingFooterText || "").length) { + var sizing_lines = app.store.SizingFooterText.replace(//g, "&rt;").split('\n').join("
") + this.$sizing.html(sizing_lines) + this.$sizing.show() + } + else { + this.$sizing.hide() + } + this.deferScrollToTop() }, -- cgit v1.2.3-70-g09d2