summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-04-07 04:59:31 +0200
committerJules Laplace <jules@okfoc.us>2017-04-07 04:59:31 +0200
commit243156b835fbc5ef6dad08943b64b496db12d287 (patch)
tree251adf8e4226b0814107362d22a3c29cdf348180
parentaf0edba1918d7902f90224f68ff95f6b5074cddf (diff)
optionally load many items when testing
-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/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nibbin2284 -> 2283 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 Islandbin2192528 -> 2192528 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources30
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js2
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js7
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstatebin13195 -> 13197 bytes
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/products/CollectionView.js7
-rwxr-xr-xStoneIsland/www/js/lib/products/CollectionView.js7
12 files changed, 39 insertions, 18 deletions
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist
index ed5cc319..499f8c4e 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>2017-04-07T02:37:06Z</date>
+ <date>2017-04-07T02:57:20Z</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/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 2f4e2892..9bf524df 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 fed392fd..c2f8b13d 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 927820ef..32fdc6e6 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 89b74872..d34703e2 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 aea44d44..10a3f6dc 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
@@ -86,7 +86,7 @@
</data>
<key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
<data>
- 6eGW5EsiFPtCTaIyKr9hIjPuVMA=
+ 4rT+/d0Sa+V2LE8N5A5WrAKSJmo=
</data>
<key>CDVLaunchScreen.storyboardc/Info.plist</key>
<data>
@@ -94,7 +94,7 @@
</data>
<key>CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key>
<data>
- 5ho/1MxhsM9G2N5j3JenTeZax/Y=
+ 4Sn1aXXlnKgHD2zQqKwgqnYXHVM=
</data>
<key>CDVNotification.bundle/beep.wav</key>
<data>
@@ -162,7 +162,7 @@
</data>
<key>MainViewController.nib</key>
<data>
- lb4k8sj98WpSPrc4TxqKLyV7cYw=
+ xjEkuWDwQDyAJzQKSfZutb0//4c=
</data>
<key>PkgInfo</key>
<data>
@@ -438,7 +438,7 @@
</data>
<key>www/js/lib/blogs/BlogView.js</key>
<data>
- qzZdPFzaPdQIVKXbo/9vdblKhu0=
+ i5NQtfkXLtVFfPsLhC3+eBd+Y98=
</data>
<key>www/js/lib/blogs/HubView.js</key>
<data>
@@ -534,7 +534,7 @@
</data>
<key>www/js/lib/products/CollectionView.js</key>
<data>
- E/yo52TLd/LzQ3jQAR4KP9cxAuk=
+ BGYDotb3Exu0Ki2+mul9I7ihags=
</data>
<key>www/js/lib/products/GalleryView.js</key>
<data>
@@ -947,11 +947,11 @@
<dict>
<key>hash</key>
<data>
- 6eGW5EsiFPtCTaIyKr9hIjPuVMA=
+ 4rT+/d0Sa+V2LE8N5A5WrAKSJmo=
</data>
<key>hash2</key>
<data>
- nqz5eH/hm8EpM2MX0zvtrKrID70c5+2w7qpn67PdyMI=
+ oH1fu4XrDmMfR1WXivmSqU7CWr2YHNSmvchxAlHjVLI=
</data>
</dict>
<key>CDVLaunchScreen.storyboardc/Info.plist</key>
@@ -969,11 +969,11 @@
<dict>
<key>hash</key>
<data>
- 5ho/1MxhsM9G2N5j3JenTeZax/Y=
+ 4Sn1aXXlnKgHD2zQqKwgqnYXHVM=
</data>
<key>hash2</key>
<data>
- d8wVP4GUWwZffIN8YVI6BVn7MBf4xT7Vc9OFqIhZgM0=
+ 6MoftXXPmYhRGVX+klvdaeHhGinF/+VDUrNh6AvmlwI=
</data>
</dict>
<key>CDVNotification.bundle/beep.wav</key>
@@ -1145,11 +1145,11 @@
<dict>
<key>hash</key>
<data>
- lb4k8sj98WpSPrc4TxqKLyV7cYw=
+ xjEkuWDwQDyAJzQKSfZutb0//4c=
</data>
<key>hash2</key>
<data>
- lneCQG743rgSTDVwpCSBoxCT5JPI+krcfZtqVwt+PVE=
+ MTQBr6LFngYvtx+EDcWouhstWU1arX2hOqSX/pDrME8=
</data>
</dict>
<key>archived-expanded-entitlements.xcent</key>
@@ -1893,11 +1893,11 @@
<dict>
<key>hash</key>
<data>
- qzZdPFzaPdQIVKXbo/9vdblKhu0=
+ i5NQtfkXLtVFfPsLhC3+eBd+Y98=
</data>
<key>hash2</key>
<data>
- LVqlKMd6ha14mJ3WbFBukHeCe8hhMgheq+tJI4uG14Q=
+ C4i7fWsS+rxSvtiCOpNnY3aMmCIJOdyShjq+qiCtiGQ=
</data>
</dict>
<key>www/js/lib/blogs/HubView.js</key>
@@ -2157,11 +2157,11 @@
<dict>
<key>hash</key>
<data>
- E/yo52TLd/LzQ3jQAR4KP9cxAuk=
+ BGYDotb3Exu0Ki2+mul9I7ihags=
</data>
<key>hash2</key>
<data>
- zubW4gLdyKBvfhdgXA6eL2XJwpzzoVZgMieIAaABFPM=
+ j58pZDmI7Le9WeKs8Zl6UZwVvHQGFinLgVOIPucwoeY=
</data>
</dict>
<key>www/js/lib/products/GalleryView.js</key>
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 a6ec75f2..562e0216 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
@@ -44,7 +44,7 @@ var BlogView = View.extend({
break
}
- // sdk.env = 'test'
+ sdk.env = 'test'
if (app.closed.storeIsClosed && sdk.env !== 'test') {
app.closed.populate(app.store.ClosedStoreImages)
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js
index 7b634138..fa1bd5a4 100755
--- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js
+++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js
@@ -37,6 +37,13 @@ var CollectionView = ScrollableView.extend({
return app.closed.show()
}
+ if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
+ var items = this.data.SearchResponseFull.Results.Items
+ items = items.concat(items).concat(items).concat(items)
+ items = items.concat(items).concat(items).concat(items)
+ this.data.SearchResponseFull.Results.Items = items
+ }
+
if (this.data && this.data.SearchResponseFull.Results.Items.length < 4) {
app.footer.hide()
}
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 4b259052..130ef446 100644
--- a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate
+++ b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
index a6ec75f2..562e0216 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
@@ -44,7 +44,7 @@ var BlogView = View.extend({
break
}
- // sdk.env = 'test'
+ sdk.env = 'test'
if (app.closed.storeIsClosed && sdk.env !== 'test') {
app.closed.populate(app.store.ClosedStoreImages)
diff --git a/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js b/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js
index 7b634138..fa1bd5a4 100755
--- a/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js
@@ -37,6 +37,13 @@ var CollectionView = ScrollableView.extend({
return app.closed.show()
}
+ if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
+ var items = this.data.SearchResponseFull.Results.Items
+ items = items.concat(items).concat(items).concat(items)
+ items = items.concat(items).concat(items).concat(items)
+ this.data.SearchResponseFull.Results.Items = items
+ }
+
if (this.data && this.data.SearchResponseFull.Results.Items.length < 4) {
app.footer.hide()
}
diff --git a/StoneIsland/www/js/lib/products/CollectionView.js b/StoneIsland/www/js/lib/products/CollectionView.js
index 7b634138..aabfc3ca 100755
--- a/StoneIsland/www/js/lib/products/CollectionView.js
+++ b/StoneIsland/www/js/lib/products/CollectionView.js
@@ -37,6 +37,13 @@ var CollectionView = ScrollableView.extend({
return app.closed.show()
}
+// if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
+// var items = this.data.SearchResponseFull.Results.Items
+// items = items.concat(items).concat(items).concat(items)
+// items = items.concat(items).concat(items).concat(items)
+// this.data.SearchResponseFull.Results.Items = items
+// }
+
if (this.data && this.data.SearchResponseFull.Results.Items.length < 4) {
app.footer.hide()
}