2010-01-26 15:52:05 +00:00
|
|
|
Account: (customer, cart) ->
|
2010-02-08 15:58:49 +00:00
|
|
|
@customer: customer
|
|
|
|
@cart: cart
|
2010-01-14 04:24:45 +00:00
|
|
|
|
2010-06-12 23:05:13 +00:00
|
|
|
$('.shoppingCart').bind 'click', (event) =>
|
2010-02-08 15:58:49 +00:00
|
|
|
@customer.purchase @cart
|