markbates/coffeebeans — Issue #7: trying to decompose .js.coffee into partials fails
Author: fringd
Created: 2012-01-26 15:38:13+00:00
State: open

main.js.coffee
------------------

```erb
...
<%=render :partial => 'cleanup' %>
```

_cleanup.js.coffee
---------------

```erb
x = 1
alert x
```

results in

```
ActionView::Template::Error (SyntaxError: reserved word "var" on line 12):
```