mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
merged in master branch again
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user