diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-06 02:07:18 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-06 02:07:18 -0500 |
| commit | ebf29872c4e9108776cd5022450a7d6274ed5d5f (patch) | |
| tree | f38219c802ff3ba97b7e79c75e8bd2b0362b511f /StoneIsland/www/js/lib/products | |
| parent | 7045fe96bc33fe92ba54a837e637145fe9bbbd23 (diff) | |
galleries on hub view
Diffstat (limited to 'StoneIsland/www/js/lib/products')
| -rw-r--r-- | StoneIsland/www/js/lib/products/ProductView.js | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index c5a7ff29..0d0b0b25 100644 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -1,12 +1,3 @@ -var SIZE_LOOKUP = { - "XS": "X-SMALL", - "S": "SMALL", - "M": "MEDIUM", - "L": "LARGE", - "XL": "X-LARGE", - "XXL": "XX-LARGE", - "XXXL": "XXX-LARGE", -}; var ProductView = ScrollableView.extend({ @@ -20,6 +11,7 @@ var ProductView = ScrollableView.extend({ initialize: function(){ this.gallery = new GalleryView () + this.scroller = new IScroll('#product', app.iscroll_options) this.$num = this.$(".num") this.$title = this.$(".title") @@ -147,6 +139,16 @@ var ProductView = ScrollableView.extend({ }) +var SIZE_LOOKUP = { + "XS": "X-SMALL", + "S": "SMALL", + "M": "MEDIUM", + "L": "LARGE", + "XL": "X-LARGE", + "XXL": "XX-LARGE", + "XXXL": "XXX-LARGE", +}; + /* |
