diff options
Diffstat (limited to 'StoneIsland/www/js')
| -rw-r--r-- | StoneIsland/www/js/index.js | 2 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/products/ProductView.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 82766082..332e780d 100644 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -4,6 +4,8 @@ var app = (function(){ app.init = function(){ app.bind() app.build() + + sdk.init({ production: true }) if (window.cordova) { document.addEventListener('deviceready', app.ready, false) diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index e87fa398..76527c8b 100644 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -44,7 +44,7 @@ var ProductView = View.extend({ load: function(data){ var name_partz = data['ModelNames'].split(' ') var num = name_partz.shift() - var title = name_parts.join(' ') + var title = name_partz.join(' ') var type = data['MicroCategory'].toUpperCase() var price = "$" + data['DiscountedPrice'] + ".00" var size = data['Sizes'][0] |
