summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-10-21 18:58:22 -0400
committerJules Laplace <jules@okfoc.us>2015-10-21 18:58:22 -0400
commitfffc000bd73b740318762747c07aa39adca1313a (patch)
tree641fabd47937419d023a50471514a4f47177d36b /StoneIsland/www/js
parent2812b73724ed5fded35fa9b7fd383a6ce481e51a (diff)
stub in proxy
Diffstat (limited to 'StoneIsland/www/js')
-rw-r--r--StoneIsland/www/js/index.js2
-rw-r--r--StoneIsland/www/js/lib/products/ProductView.js2
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]