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

Require coffee-script >= or ~> 2.2 #47

Closed
johnbintz opened this issue Jun 1, 2011 · 1 comment
Closed

Require coffee-script >= or ~> 2.2 #47

johnbintz opened this issue Jun 1, 2011 · 1 comment

Comments

@johnbintz
Copy link

coffee-script 2.1.3 and below use console.log to print out the results of the compilation. When used with Node.js, console.log uses sprintf()-style interpolation to fill in values in error messages, so format character groups (such as "%d") get replaced with NaN when writing out compiled CoffeeScript. coffee-script 2.2.0 does not use console.log so these characters are correctly passed through. Requiring coffee-script 2.2 (and above) will ensure that people using characters that could be trapped by a console.log call will not be.

@johnbintz
Copy link
Author

I take this back for now, the 2.2 coffee-script gem doesn't want to use my install of Node.js coffee for some reason.

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

1 participant