Coffeescript is not compiled on standalone view #481

Closed
twoolie opened this Issue Jan 30, 2013 · 3 comments

Projects

None yet

3 participants

@twoolie

See http://jsbin.com/uyowes/11

Viewing source on page shows coffeescript directly inside a script tag, uncompiled and without any type annotation to allow JS compiler to do its's thing

@jots

This bit me as well.
I think it needs <script type="text/coffeescript">

and include the compiler as described at http://coffeescript.org/#scripts

@remy
Dave, The Bin Bot member

I've spotted where the problem is (I think). The processor (as coffescript) isn't being saved. If you go to edit the bin, you'll see it's set as JavaScript. I'm pretty sure that what's happening (and this isn't your fault), is the processor is changed, but it doesn't complete the change due to a 404 in jsbin (where it's only trying to load the syntax highlighter, but this is resulting in the processor not being saved).

I'm pushing a change to test this now.

@remy
Dave, The Bin Bot member

Sod. That wasn't it.

@remy remy added a commit that closed this issue Mar 28, 2013
@remy remy Fixed #481. Somehow the coffeescript serverside compiler was NEVER wo…
…rking. Not sure how I missed this. Also updated to coffee-script 1.6.2
fc18e6e
@remy remy closed this in fc18e6e Mar 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment