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

Invalid escape sequence in generated coffeescript #31

Open
timkeith opened this issue Oct 20, 2015 · 4 comments
Open

Invalid escape sequence in generated coffeescript #31

timkeith opened this issue Oct 20, 2015 · 4 comments

Comments

@timkeith
Copy link

I'm running meteor-kitchen -c -j ... and it works great except for one minor problem:

lib/object_utils.coffee:62:26: invalid escape sequence \u9
lib/object_utils.coffee:68:18: invalid escape sequence \ud\n

Those should be '\u0009' and '\u000d\n' or just '\t' and '\r\n'.

@perak
Copy link
Owner

perak commented Oct 20, 2015

@timkeith interesting... I'll check if I can fix that as soon as I reach my computer (perhaps in original .js I've put some suspicious chars)

@perak
Copy link
Owner

perak commented Oct 20, 2015

@timkeith I cannot reproduce your issue

But I got another problem: client.js cannot be properly converted to coffee due to empty if statement in getArray() function - fixed now and will be available in next version (v0.9.55).

What OS, meteor-kitchen --version and js2coffee --version are you using?

@timkeith
Copy link
Author

OS: Ubuntu 14.04
meteor-kitchen --version: 0.9.53
js2coffee --version: 2.1.0

@timkeith
Copy link
Author

When I run js2coffee on object_utils.js it generates the bad string literals. So it seems to be a bug in js2coffee rather than in meteor-kitchen.

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

No branches or pull requests

2 participants