merged in master branch again

This commit is contained in:
Jeremy Ashkenas
2009-12-30 13:38:50 -05:00
3 changed files with 14 additions and 23 deletions

View File

@@ -20,9 +20,7 @@ checkForErrors: coffeeProcess =>
# Run a simple REPL, round-tripping to the CoffeeScript compiler for every
# command.
exports.run: args =>
if args.length
exports.evalCS(File.read(path)) for path in args
return true
return true if args.length
while true
try

View File

@@ -18,15 +18,8 @@
// Run a simple REPL, round-tripping to the CoffeeScript compiler for every
// command.
exports.run = function(args) {
var __a, __b, __c, __d, path, result;
var result;
if (args.length) {
__a = args;
__d = [];
for (__b=0, __c=__a.length; __b<__c; __b++) {
path = __a[__b];
__d[__b] = exports.evalCS(File.read(path));
}
__d;
return true;
}
while (true) {