Closed spatten closed 12 years ago
oops, that looks like a debug behavior that I left in by accident!
Ahh, cool. Makes sense :).
I'll let you fixed it up, then. Thanks!
diff --git bin/underscore bin/underscore index af3486e..fd70e4d 100755 --- bin/underscore +++ bin/underscore @@ -809,7 +809,7 @@ function getUserFn_coffee(expression, args) { } try { var js = coffee.compile(code, {filename: 'expression', bare: true});
A (contrived) example:
With Javascript:
With Coffee:
The problem is that the output of the first command is:
And the output of the compilation result is blowing up the "underscore pretty" command.
It seems like the fix is to avoid outputting the compilation result by default and add a flag to show it for debugging.
Happy to submit a pull request if that's the desired behaviour.