Skip to content

Commit

Permalink
merge and squash dev into master
Browse files Browse the repository at this point in the history
  • Loading branch information
willpatera committed Jan 5, 2017
1 parent ee007a9 commit c29599e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/coffeescript/product_list.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ get_world_cam_ids = ->
return (k for k,v of get_world_cam_data())

get_eye_cam_ids = ->
return (k for k,v of get_eye_cam_data())
return (k for k,v of get_eye_cam_data() when k isnt 'e30')

get_edu_discount_data = ->
edu_discount_data =
Expand Down
4 changes: 2 additions & 2 deletions assets/coffeescript/pupil_store.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class PupilStore
# create eye products in configurator
for eye_id in get_eye_cam_ids()
title_store = get_eye_cam_data()[eye_id]['title_store']
klass = if eye_id is "e30" then "StoreConfig-eye StoreConfig--state-active" else "StoreConfig-eye"
klass = if eye_id is "e120" then "StoreConfig-eye StoreConfig--state-active" else "StoreConfig-eye"
html = "<li class='Grid-cell u-textCenter'>
<button class='#{ klass }' id='#{ eye_id }' href='#{}'>#{title_store}</button>
</li>"
Expand Down Expand Up @@ -113,7 +113,7 @@ class PupilStore


@_updateSpecTxt('world','w120')
@_updateSpecTxt('eye','e30')
@_updateSpecTxt('eye','e120')
@_updateConfigSubTotal()

eventAddToCart: ->
Expand Down

0 comments on commit c29599e

Please sign in to comment.