/documentation/js/fat_arrow.js
http://github.com/jashkenas/coffee-script · JavaScript · 12 lines · 10 code · 1 blank · 1 comment · 0 complexity · c0d8dd790d1725c52c6e95ffa2c595c1 MD5 · raw file
- // Generated by CoffeeScript 1.10.0
- var Account;
- Account = function(customer, cart) {
- this.customer = customer;
- this.cart = cart;
- return $('.shopping_cart').on('click', (function(_this) {
- return function(event) {
- return _this.customer.purchase(_this.cart);
- };
- })(this));
- };