mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
merge master
This commit is contained in:
commit
89db842c3d
10 changed files with 264 additions and 31 deletions
|
@ -16,7 +16,13 @@
|
|||
|
||||
replDefaults = {
|
||||
prompt: 'coffee> ',
|
||||
historyFile: process.env.HOME ? path.join(process.env.HOME, '.coffee_history') : void 0,
|
||||
historyFile: (function() {
|
||||
var historyPath;
|
||||
historyPath = process.env.XDG_CACHE_HOME || process.env.HOME;
|
||||
if (historyPath) {
|
||||
return path.join(historyPath, '.coffee_history');
|
||||
}
|
||||
})(),
|
||||
historyMaxInputSize: 10240,
|
||||
"eval": function(input, context, filename, cb) {
|
||||
var Assign, Block, Literal, Value, ast, err, js, referencedVars, token, tokens;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue