/documentation/js/fat_arrow.js
JavaScript | 12 lines | 10 code | 1 blank | 1 comment | 0 complexity | c0d8dd790d1725c52c6e95ffa2c595c1 MD5 | raw file
1// Generated by CoffeeScript 1.10.0 2var Account; 3 4Account = function(customer, cart) { 5 this.customer = customer; 6 this.cart = cart; 7 return $('.shopping_cart').on('click', (function(_this) { 8 return function(event) { 9 return _this.customer.purchase(_this.cart); 10 }; 11 })(this)); 12};