mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
rewriting the Lexer, CommandLine, Nodes, and Rewriter to take advantage of the new DRY object pattern matching.
This commit is contained in:
parent
a894db35fd
commit
2d1abd099d
9 changed files with 253 additions and 257 deletions
|
@ -173,7 +173,7 @@
|
|||
lint = function lint(js) {
|
||||
var jsl, print_it;
|
||||
print_it = function print_it(buffer) {
|
||||
return puts(buffer.toString());
|
||||
return print(buffer.toString());
|
||||
};
|
||||
jsl = spawn('jsl', ['-nologo', '-stdin']);
|
||||
jsl.stdout.addListener('data', print_it);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue