Removed dependency on util to extend support to node v0.2.5

This commit is contained in:
Chetan Surpur
2011-01-18 09:45:58 -08:00
parent 150a8a12a0
commit a48cd7cb1d

View File

@@ -1,8 +1,7 @@
(function() {
var BANNER, CoffeeScript, EventEmitter, SWITCHES, compileJoin, compileOptions, compileScript, compileScripts, compileStdio, contents, exec, forkNode, fs, helpers, lint, loadRequires, optionParser, optparse, opts, parseOptions, path, printLine, printTokens, printWarn, sources, spawn, usage, util, version, watch, writeJs, _ref;
var BANNER, CoffeeScript, EventEmitter, SWITCHES, compileJoin, compileOptions, compileScript, compileScripts, compileStdio, contents, exec, forkNode, fs, helpers, lint, loadRequires, optionParser, optparse, opts, parseOptions, path, printLine, printTokens, printWarn, sources, spawn, usage, version, watch, writeJs, _ref;
fs = require('fs');
path = require('path');
util = require('util');
helpers = require('./helpers');
optparse = require('./optparse');
CoffeeScript = require('./coffee-script');
@@ -197,7 +196,7 @@
if (err) {
return printLine(err.message);
} else if (opts.compile && opts.watch) {
return util.log("compiled " + source);
return console.log("compiled " + source);
}
});
};