1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

making the Rewriter's add_implicit_calls more sensitive of parenthetical arguments.

This commit is contained in:
Jeremy Ashkenas 2010-03-28 17:12:30 -04:00
parent 1e315b5a33
commit 83c0e77ca8
4 changed files with 24 additions and 7 deletions

View file

@ -54,8 +54,8 @@
exports.run = (function(code, options) {
var __dirname, __filename;
module.filename = (__filename = options.source);
__dirname = path.dirname(__filename);
return eval(exports.compile(code, options));
__dirname = path.dirname(__filename, eval(exports.compile(code, options)));
return __dirname;
});
// Extend CoffeeScript with a custom language extension. It should hook in to
// the **Lexer** (as a peer of any of the lexer's tokenizing methods), and