netzpirat/haml_coffee_assets — Issue #23: CoffeScript =>
Author: inossidabile
Created: 2012-01-27 12:14:09+00:00
State: open

When using "=>" context feature of CoffeScript it prepends the

```javascript
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
```
to properly handle it in JS. This prefix appears before your `function(context) {` wrapper. Which leads to

```javascript
this.JST["..."] = var __bind = function(fn, me){ ret
```

which is a syntax error.