jashkenas/coffee-script — Issue #1848: Parse error on line NaN: Unexpected 'MATH'
Author: jwhitley
Created: 2011-11-09 22:14:44+00:00
State: open

The one-liner `nan.js.coffee` from [this gist](https://gist.github.com/1353264) produces the above error with CoffeeScript 1.1.2. I've included the error backtrace in the gist as well. It was due to my accidentally typing an extra `#` in TextMate, which resulted in this:

```coffee
d3.time.format("#{%m/%d}")
```

which causes the offending error. For posterity, the correct (and correctly compiling) line is:

```coffee
d3.time.format("%m/%d")
```