This commit is contained in:
isaacs 2012-10-12 11:44:02 -07:00
parent 061f2075cf
commit 8509073458
3 changed files with 4 additions and 3 deletions

View File

@ -707,7 +707,7 @@ OutgoingMessage.prototype._renderHeaders = function() {
Object.defineProperty(OutgoingMessage.prototype, 'headersSent', { Object.defineProperty(OutgoingMessage.prototype, 'headersSent', {
configurable: true, configurable: true,
enumerable: true, enumerable: true,
get: function () { return !!this._header; } get: function() { return !!this._header; }
}); });

View File

@ -497,7 +497,7 @@ Module.runMain = function() {
Module._load(process.argv[1], null, true); Module._load(process.argv[1], null, true);
}; };
Module._initPaths = function () { Module._initPaths = function() {
var isWindows = process.platform === 'win32'; var isWindows = process.platform === 'win32';
if (isWindows) { if (isWindows) {

View File

@ -112,7 +112,8 @@ var error = exports.error = function(x) {
* @param {Object} obj The object to print out. * @param {Object} obj The object to print out.
* @param {Object} opts Optional options object that alters the output. * @param {Object} opts Optional options object that alters the output.
*/ */
function inspect(obj, opts/* legacy: showHidden, depth, colors*/) { /* legacy: obj, showHidden, depth, colors*/
function inspect(obj, opts) {
// default options // default options
var ctx = { var ctx = {
seen: [], seen: [],