From fffc000bd73b740318762747c07aa39adca1313a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 21 Oct 2015 18:58:22 -0400 Subject: stub in proxy --- StoneIsland/www/js/index.js | 2 ++ StoneIsland/www/js/lib/products/ProductView.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'StoneIsland/www') 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] -- cgit v1.2.3-70-g09d2