2010-01-26 15:52:05 +00:00
|
|
|
Account: (customer, cart) ->
|
2010-01-14 04:24:45 +00:00
|
|
|
this.customer: customer
|
|
|
|
this.cart: cart
|
|
|
|
|
2010-01-26 15:52:05 +00:00
|
|
|
$('.shopping_cart').bind 'click', (event) =>
|
2010-01-25 05:14:00 +00:00
|
|
|
this.customer.purchase this.cart
|