The error message the display for a compile error in Try CoffeeScript isn't very noticeable, and is often cut off because of the lack of room.
This change displays the compile error in red where the compiled source code would be, and dims the "Run" button to indicate that it's disabled.
You can see this running on my gh-pages branch.
Moving compile errors from error bar to repl output.
Fade the Run button when there's a compile error.
Very nice, big +1 from me. Code LGTM as well. One nitpick: why name the variable $results?
In stuff I've been working on recently, the $- prefix is used to indicate variables containing jQuery objects. Should I change it to results?
I don't really care, but it would be more consistent, so probably, yeah.
Renaming `$results` to `results` for consistency.
Merge remote-tracking branch 'jashkenas/master' into doc-clearer-comp…
@michaelficarra / @jashkenas That'd be cool to have.
Agreed. If someone wants to rebase this, I'd gladly merge it.
Yeah, this looks great. I never liked shoving them up there in the corner in the first place.
+1 to get rid of the capitalization, try
to see how it messes up the tokens in the error message.