Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backticks within embedded JavaScript #4086

Closed
guigrpa opened this issue Sep 7, 2015 · 2 comments
Closed

Backticks within embedded JavaScript #4086

guigrpa opened this issue Sep 7, 2015 · 2 comments

Comments

@guigrpa
Copy link

guigrpa commented Sep 7, 2015

I'm trying to use Facebook's Relay framework in CoffeeScript, but Relay uses ES6 template strings and they seem to be incompatible with CoffeeScript.

I've tried to embed those template strings in CoffeeScript, but the template's backticks can't be escaped, or am I missing something?

Would it be possible in CoffeeScript to delimit embedded JavaScript using something in the line of multiline comments (###), say ```?

@jarkonik
Copy link

This feature has already been requested here: #1504

@vendethiel
Copy link
Collaborator

Seems like it. Thanks @jarkonik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants