summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/sdk/_sdk.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/sdk/_sdk.js')
-rwxr-xr-xStoneIsland/www/js/sdk/_sdk.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/StoneIsland/www/js/sdk/_sdk.js b/StoneIsland/www/js/sdk/_sdk.js
index bcfb3059..ef29ff92 100755
--- a/StoneIsland/www/js/sdk/_sdk.js
+++ b/StoneIsland/www/js/sdk/_sdk.js
@@ -21,8 +21,8 @@ var sdk = (function(){
}
}
- sdk.path = function(api, path){
- return endpoint + api + "/STONEISLAND_" + sdk.cc() + "/" + path
+ sdk.path = function(api, path, cc){
+ return endpoint + api + "/STONEISLAND_" + (cc || sdk.cc()) + "/" + path
}
sdk.image = function(code, size){
@@ -31,6 +31,7 @@ var sdk = (function(){
sdk.cc = function(){
return sim.data.countryCode.toUpperCase()
+ // return 'CA'
}
sdk.cms = function(){