merging Tim's filename branch.
This commit is contained in:
parent
c4a3e170e2
commit
19dfe4b01d
|
@ -45,7 +45,7 @@
|
|||
if (root.moduleCache) {
|
||||
root.moduleCache = {};
|
||||
}
|
||||
return root._compile(exports.compile(code, options), root.filename);
|
||||
return path.extname(root.filename) !== '.coffee' || require.extensions ? root._compile(exports.compile(code, options), root.filename) : root._compile(code, root.filename);
|
||||
};
|
||||
exports.eval = function(code, options) {
|
||||
var __dirname, __filename;
|
||||
|
|
Loading…
Reference in New Issue