This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
As per http://coffeescript.org/#embedded use of backticks should embed javascript verbatim. In workbench v3.2.419.21172 the following coffee script
results in the following javacript
but as per the coffeescript.org link above, it should result in the following javascript
Is this by design, or is this a bug with Web Workbench? |
|
|
This looks like a bug (feature?) in the coffee compiler.
Compiled with coffee 1.3.3 becomes:
|
|
|
This is apparently a known bug:
By the sounds of it, they aren't going to fix it. However I did submit an issue on github https://github.com/jashkenas/coffee-script/issues/2504 Thanks |
|