diff --git a/documentation/index.html.erb b/documentation/index.html.erb index 0927d89f..a8261bc3 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -610,6 +610,12 @@ coffee --print app/scripts/*.coffee > concatenation.js that includes CoffeeScript helpers, bundling and minification. +
  • + coffee-haml-filter
    + A custom HAML filter, by + Ivan Nemytchenko, that embeds + snippets of CoffeeScript within your HAML templates. +
  • Contributing

    diff --git a/documentation/js/long_arrow.js b/documentation/js/long_arrow.js index 8e60b143..2d1efc5e 100644 --- a/documentation/js/long_arrow.js +++ b/documentation/js/long_arrow.js @@ -1,20 +1,19 @@ (function(){ var Account; Account = function Account(customer, cart) { - var __a, __b; - var __this = this; + var __a; this.customer = customer; this.cart = cart; - __a = $('.shopping_cart').bind('click', (function() { - __b = function(event) { - var __c; - __c = this.customer.purchase(this.cart); - return Account === this.constructor ? this : __c; + __a = $('.shopping_cart').bind('click', (function(__this) { + var __func = function(event) { + var __b; + __b = this.customer.purchase(this.cart); + return Account === this.constructor ? this : __b; }; return (function() { - return __b.apply(__this, arguments); + return __func.apply(__this, arguments); }); - })()); + })(this)); return Account === this.constructor ? this : __a; }; })(); \ No newline at end of file diff --git a/index.html b/index.html index 4a039662..9781ef76 100644 --- a/index.html +++ b/index.html @@ -1287,20 +1287,19 @@ city = __c[1]; this.customer.purchase(this.cart)
    var Account;
     Account = function Account(customer, cart) {
    -  var __a, __b;
    -  var __this = this;
    +  var __a;
       this.customer = customer;
       this.cart = cart;
    -  __a = $('.shopping_cart').bind('click', (function() {
    -    __b = function(event) {
    -      var __c;
    -      __c = this.customer.purchase(this.cart);
    -      return Account === this.constructor ? this : __c;
    +  __a = $('.shopping_cart').bind('click', (function(__this) {
    +    var __func = function(event) {
    +      var __b;
    +      __b = this.customer.purchase(this.cart);
    +      return Account === this.constructor ? this : __b;
         };
         return (function() {
    -      return __b.apply(__this, arguments);
    +      return __func.apply(__this, arguments);
         });
    -  })());
    +  })(this));
       return Account === this.constructor ? this : __a;
     };
     

    @@ -1455,6 +1454,12 @@ html = &q that includes CoffeeScript helpers, bundling and minification. +
  • + coffee-haml-filter
    + A custom HAML filter, by + Ivan Nemytchenko, that embeds + snippets of CoffeeScript within your HAML templates. +
  • Contributing