summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/sdk/product.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-12-11 01:54:35 -0600
committerJules Laplace <jules@okfoc.us>2015-12-11 01:54:35 -0600
commit20739f5f572e043aec1a4b25de63231c4c176ffe (patch)
tree2d0e3809aea69297d22651131275ba1989b76e11 /StoneIsland/platforms/ios/www/js/sdk/product.js
parent13a66557666db25dd67bdc3eb0e52b11292045d1 (diff)
is_android check for touch events, rebuild ios
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/sdk/product.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/sdk/product.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/sdk/product.js b/StoneIsland/platforms/ios/www/js/sdk/product.js
index 55f1940a..7c12e7d7 100755
--- a/StoneIsland/platforms/ios/www/js/sdk/product.js
+++ b/StoneIsland/platforms/ios/www/js/sdk/product.js
@@ -3,6 +3,16 @@ sdk.product = (function(){
var default_gallery = 31617
+ product.all = function(opt){
+ return $.ajax({
+ method: "GET",
+ url: sdk.path("Search.API/1.2", "search.json"),
+ data: { format: "full", productsPerPage: 100 },
+ success: opt.success,
+ error: opt.error,
+ })
+ }
+
product.collection = function(opt){
return $.ajax({
method: "GET",