src: Replace macros with util functions

This commit is contained in:
isaacs committed 2013-08-01 15:08:01 -07:00
1 parent 9a29aa8c55
commit 22c68fdc1d
38 files changed
+439 -389

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ function Console(stdout, stderr) {
if (!(this instanceof Console)) {
return new Console(stdout, stderr);
}
if (!stdout || !IS_FUNCTION(stdout.write)) {
if (!stdout || !util.isFunction(stdout.write)) {
throw new TypeError('Console expects a writable stream instance');
}
if (!stderr) {