diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-10-21 18:58:22 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-10-21 18:58:22 -0400 |
| commit | fffc000bd73b740318762747c07aa39adca1313a (patch) | |
| tree | 641fabd47937419d023a50471514a4f47177d36b /StoneIsland/platforms/ios/www/js/sdk/product.js | |
| parent | 2812b73724ed5fded35fa9b7fd383a6ce481e51a (diff) | |
stub in proxy
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/sdk/product.js')
| -rw-r--r-- | StoneIsland/platforms/ios/www/js/sdk/product.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/platforms/ios/www/js/sdk/product.js b/StoneIsland/platforms/ios/www/js/sdk/product.js index c904eb32..a2ba30a1 100644 --- a/StoneIsland/platforms/ios/www/js/sdk/product.js +++ b/StoneIsland/platforms/ios/www/js/sdk/product.js @@ -1,7 +1,7 @@ sdk.product = (function(){ var product = {} - product.fetch_collection = function(opt){ + product.collection = function(opt){ $.ajax({ method: "GET", url: sdk.path("Search.API/1.2", "search.json"), @@ -15,7 +15,7 @@ sdk.product = (function(){ product.item = function(opt){ $.ajax({ method: "GET", - url: sdk.path("Item.API/1.0", "item/" + data.code + ".json"), + url: sdk.path("Item.API/1.0", "item/" + opt.code + ".json"), success: opt.success, error: opt.error, }) |
